针对HttpClient 重写 HttpRequestRetryHandler针对特定异常 增加重试
摘要:
调用方法: public static String doGet(String url) { try { RequestConfig defaultRequestConfig = RequestConfig.custom() .setSocketTimeout(200) ... 阅读全文
posted @ 2019-07-22 15:12 Joinc 阅读(1258) 评论(0) 推荐(0) 编辑