Class ApacheSdkHttpClient
- java.lang.Object
- 
- software.amazon.awssdk.http.apache.internal.impl.ApacheSdkHttpClient
 
- 
- All Implemented Interfaces:
- org.apache.http.client.HttpClient,- ConnectionManagerAwareHttpClient
 
 public class ApacheSdkHttpClient extends Object implements ConnectionManagerAwareHttpClient An instance ofConnectionManagerAwareHttpClientthat delegates all the requests to the given http client.
- 
- 
Constructor SummaryConstructors Constructor Description ApacheSdkHttpClient(org.apache.http.client.HttpClient delegate, org.apache.http.conn.HttpClientConnectionManager cm)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request)<T> Texecute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler)<T> Texecute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.protocol.HttpContext context)org.apache.http.HttpResponseexecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)<T> Texecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler)<T> Texecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)org.apache.http.HttpResponseexecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)org.apache.http.conn.ClientConnectionManagergetConnectionManager()org.apache.http.conn.HttpClientConnectionManagergetHttpClientConnectionManager()Returns theHttpClientConnectionManagerassociated with the http client.org.apache.http.params.HttpParamsgetParams()
 
- 
- 
- 
Method Detail- 
getParamspublic org.apache.http.params.HttpParams getParams() - Specified by:
- getParamsin interface- org.apache.http.client.HttpClient
 
 - 
getConnectionManagerpublic org.apache.http.conn.ClientConnectionManager getConnectionManager() - Specified by:
- getConnectionManagerin interface- org.apache.http.client.HttpClient
 
 - 
executepublic org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.protocol.HttpContext context) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic <T> T execute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic <T> T execute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic <T> T execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
executepublic <T> T execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.client.ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context) throws IOException- Specified by:
- executein interface- org.apache.http.client.HttpClient
- Throws:
- IOException
 
 - 
getHttpClientConnectionManagerpublic org.apache.http.conn.HttpClientConnectionManager getHttpClientConnectionManager() Description copied from interface:ConnectionManagerAwareHttpClientReturns theHttpClientConnectionManagerassociated with the http client.- Specified by:
- getHttpClientConnectionManagerin interface- ConnectionManagerAwareHttpClient
 
 
- 
 
-