Class DefaultHttpClient
- java.lang.Object
-
- org.apache.http.impl.client.CloseableHttpClient
-
- org.apache.http.impl.client.AbstractHttpClient
-
- org.apache.http.impl.client.DefaultHttpClient
-
- com.amazonaws.xray.proxies.apache.http.DefaultHttpClient
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.apache.http.client.HttpClient
@Deprecated public class DefaultHttpClient extends org.apache.http.impl.client.DefaultHttpClientDeprecated.Apache 4.3 Wraps and overridesorg.apache.http.impl.client.DefaultHttpClient's execute() methods. Accesses the global recorder upon each invocation to generateSegments. Only overrides those signatures which directly invoke doExecute. Other execute() signatures are wrappers which call these overridden methods.
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpClient()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.http.client.methods.CloseableHttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.protocol.HttpContext context)Deprecated.org.apache.http.client.methods.CloseableHttpResponseexecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)Deprecated.org.apache.http.client.methods.CloseableHttpResponseexecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.-
Methods inherited from class org.apache.http.impl.client.DefaultHttpClient
createHttpParams, createHttpProcessor, setDefaultHttpParams
-
Methods inherited from class org.apache.http.impl.client.AbstractHttpClient
addRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, close, createAuthSchemeRegistry, createClientConnectionManager, createClientRequestDirector, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createConnectionReuseStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createHttpRoutePlanner, createProxyAuthenticationHandler, createProxyAuthenticationStrategy, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createTargetAuthenticationStrategy, createUserTokenHandler, determineParams, doExecute, getAuthSchemes, getBackoffManager, getConnectionBackoffStrategy, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getProxyAuthenticationStrategy, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getTargetAuthenticationStrategy, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setBackoffManager, setConnectionBackoffStrategy, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setProxyAuthenticationStrategy, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setTargetAuthenticationStrategy, setUserTokenHandler
-
-
-
-
Method Detail
-
execute
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws java.io.IOException, org.apache.http.client.ClientProtocolExceptionDeprecated.- Specified by:
executein interfaceorg.apache.http.client.HttpClient- Overrides:
executein classorg.apache.http.impl.client.CloseableHttpClient- Throws:
java.io.IOExceptionorg.apache.http.client.ClientProtocolException
-
execute
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.protocol.HttpContext context) throws java.io.IOException, org.apache.http.client.ClientProtocolExceptionDeprecated.- Specified by:
executein interfaceorg.apache.http.client.HttpClient- Overrides:
executein classorg.apache.http.impl.client.CloseableHttpClient- Throws:
java.io.IOExceptionorg.apache.http.client.ClientProtocolException
-
execute
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request) throws java.io.IOException, org.apache.http.client.ClientProtocolExceptionDeprecated.- Specified by:
executein interfaceorg.apache.http.client.HttpClient- Overrides:
executein classorg.apache.http.impl.client.CloseableHttpClient- Throws:
java.io.IOExceptionorg.apache.http.client.ClientProtocolException
-
-