org.jboss.resteasy.client.core.executors
Class ApacheHttpClientExecutor
java.lang.Object
org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor
- All Implemented Interfaces:
- ClientExecutor
public class ApacheHttpClientExecutor
- extends java.lang.Object
- implements ClientExecutor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Field Summary |
protected org.apache.commons.httpclient.HttpClient |
httpClient
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpClient
protected org.apache.commons.httpclient.HttpClient httpClient
ApacheHttpClientExecutor
public ApacheHttpClientExecutor()
ApacheHttpClientExecutor
public ApacheHttpClientExecutor(org.apache.commons.httpclient.HttpClient httpClient)
getHttpClient
public org.apache.commons.httpclient.HttpClient getHttpClient()
extractHeaders
public static CaseInsensitiveMap<java.lang.String> extractHeaders(org.apache.commons.httpclient.HttpMethodBase baseMethod)
createRequest
public ClientRequest createRequest(java.lang.String uriTemplate)
- Specified by:
createRequest
in interface ClientExecutor
createRequest
public ClientRequest createRequest(UriBuilder uriBuilder)
- Specified by:
createRequest
in interface ClientExecutor
execute
public ClientResponse execute(ClientRequest request)
throws java.lang.Exception
- Specified by:
execute
in interface ClientExecutor
- Throws:
java.lang.Exception
loadHttpMethod
public void loadHttpMethod(ClientRequest request,
org.apache.commons.httpclient.HttpMethodBase httpMethod)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.