|
|
@@ -6,12 +6,15 @@ import me.chanjar.weixin.common.error.WxError; |
|
|
|
import me.chanjar.weixin.common.error.WxErrorException; |
|
|
|
import me.chanjar.weixin.common.util.http.RequestHttp; |
|
|
|
import me.chanjar.weixin.common.util.http.SimpleGetRequestExecutor; |
|
|
|
import me.chanjar.weixin.common.util.http.WxDnsResolver; |
|
|
|
import org.apache.http.Header; |
|
|
|
import org.apache.http.HttpHost; |
|
|
|
import org.apache.http.client.config.RequestConfig; |
|
|
|
import org.apache.http.client.methods.CloseableHttpResponse; |
|
|
|
import org.apache.http.client.methods.HttpGet; |
|
|
|
import org.apache.http.impl.client.CloseableHttpClient; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
@@ -21,8 +24,8 @@ import java.io.IOException; |
|
|
|
* @author ecoolper |
|
|
|
* @date 2017/5/4 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
public class ApacheHttpClientSimpleGetRequestExecutor extends SimpleGetRequestExecutor<CloseableHttpClient, HttpHost> { |
|
|
|
protected final Logger log = LoggerFactory.getLogger(this.getClass()); |
|
|
|
public ApacheHttpClientSimpleGetRequestExecutor(RequestHttp requestHttp) { |
|
|
|
super(requestHttp); |
|
|
|
} |
|
|
|