|
@@ -172,6 +172,7 @@ public class HttpClientUtils {
|
|
|
log.info(httpClientEntity.getResult());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
+ return httpGetRequest(httpClientEntity);
|
|
|
}
|
|
|
httpClientEntity.setResult(result);
|
|
|
httpClientEntity.setCookieStore(cookieStore);
|
|
@@ -240,6 +241,7 @@ public class HttpClientUtils {
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
log.error(e.getMessage());
|
|
|
+ return httpGetRequest(httpClientEntity);
|
|
|
}
|
|
|
httpClientEntity.setResult(result);
|
|
|
httpClientEntity.setCookieStore(cookieStore);
|
|
@@ -305,6 +307,7 @@ public class HttpClientUtils {
|
|
|
log.info(httpClientEntity.getResult());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
+ return httpGetRequest(httpClientEntity);
|
|
|
}
|
|
|
httpClientEntity.setCookieStore(cookieStore);
|
|
|
return httpClientEntity;
|