Class HttpComponent3Response
- java.lang.Object
-
- com.foxinmy.weixin4j.http.AbstractHttpResponse
-
- com.foxinmy.weixin4j.http.support.apache3.HttpComponent3Response
-
- All Implemented Interfaces:
HttpMessage,HttpResponse
public class HttpComponent3Response extends AbstractHttpResponse
HttpComponent3 Response:Requires commons-httpclient 3.0 or higher- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Field Summary
-
Fields inherited from class com.foxinmy.weixin4j.http.AbstractHttpResponse
KEEP_ALIVE
-
-
Constructor Summary
Constructors Constructor Description HttpComponent3Response(org.apache.commons.httpclient.HttpMethod httpMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()释放资源HttpHeadersgetHeaders()HTTP报头HttpVersiongetProtocol()HTTP协议HttpStatusgetStatus()响应状态-
Methods inherited from class com.foxinmy.weixin4j.http.AbstractHttpResponse
getBody, getContent
-
-
-
-
Constructor Detail
-
HttpComponent3Response
public HttpComponent3Response(org.apache.commons.httpclient.HttpMethod httpMethod) throws IOException- Throws:
IOException
-
-
Method Detail
-
getHeaders
public HttpHeaders getHeaders()
Description copied from interface:HttpMessageHTTP报头- Returns:
-
getProtocol
public HttpVersion getProtocol()
Description copied from interface:HttpResponseHTTP协议- Returns:
-
getStatus
public HttpStatus getStatus()
Description copied from interface:HttpResponse响应状态- Returns:
-
close
public void close()
Description copied from interface:HttpResponse释放资源
-
-