Class HttpComponent4_2
- java.lang.Object
-
- com.foxinmy.weixin4j.http.AbstractHttpClient
-
- com.foxinmy.weixin4j.http.support.apache4.HttpComponent4
-
- com.foxinmy.weixin4j.http.support.apache4.HttpComponent4_2
-
- All Implemented Interfaces:
HttpClient
public class HttpComponent4_2 extends HttpComponent4
Requires Apache HttpComponents 4.3 or higher- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.foxinmy.weixin4j.http.support.apache4.HttpComponent4
HttpComponent4.CustomHostnameVerifier
-
-
Constructor Summary
Constructors Constructor Description HttpComponent4_2(org.apache.http.impl.client.CloseableHttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse
execute(HttpRequest request)
处理请求-
Methods inherited from class com.foxinmy.weixin4j.http.support.apache4.HttpComponent4
createMethod, createRequest, getContent, resolveContent, resolveHeaders
-
-
-
-
Method Detail
-
execute
public HttpResponse execute(HttpRequest request) throws HttpClientException
Description copied from interface:HttpClient
处理请求- Parameters:
request
- 请求对象- Returns:
- 响应对象
- Throws:
HttpClientException
-
-