Class Netty4HttpClient
- java.lang.Object
-
- com.foxinmy.weixin4j.http.AbstractHttpClient
-
- com.foxinmy.weixin4j.http.support.netty.Netty4HttpClient
-
- All Implemented Interfaces:
HttpClient
public class Netty4HttpClient extends AbstractHttpClient
Netty 4.x- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description Netty4HttpClient(io.netty.bootstrap.Bootstrap bootstrap, HttpParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse
execute(HttpRequest request)
处理请求
-
-
-
Constructor Detail
-
Netty4HttpClient
public Netty4HttpClient(io.netty.bootstrap.Bootstrap bootstrap, HttpParams params)
-
-
Method Detail
-
execute
public HttpResponse execute(HttpRequest request) throws HttpClientException
Description copied from interface:HttpClient
处理请求- Parameters:
request
- 请求对象- Returns:
- 响应对象
- Throws:
HttpClientException
-
-