com.foxinmy.weixin4j.http.support.apache3
Class HttpComponent3

java.lang.Object
  extended by com.foxinmy.weixin4j.http.AbstractHttpClient
      extended by com.foxinmy.weixin4j.http.support.apache3.HttpComponent3
All Implemented Interfaces:
HttpClient

public class HttpComponent3
extends AbstractHttpClient

Requires commons-httpclient 3.0 or higher

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:

Nested Class Summary
static class HttpComponent3.SSLProtocolSocketFactory
           
 
Constructor Summary
HttpComponent3(org.apache.commons.httpclient.HttpClient httpClient)
           
 
Method Summary
 HttpResponse execute(HttpRequest request)
          处理请求
 
Methods inherited from class com.foxinmy.weixin4j.http.AbstractHttpClient
delete, delete, get, get, head, head, options, options, post, post, post, put, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpComponent3

public HttpComponent3(org.apache.commons.httpclient.HttpClient httpClient)
Method Detail

execute

public HttpResponse execute(HttpRequest request)
                     throws HttpClientException
Description copied from interface: HttpClient
处理请求

Parameters:
request - 请求对象
Returns:
响应对象
Throws:
HttpClientException


Copyright © 2014–2017. All rights reserved.