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.DefaultHttpClient
Deprecated.
Apache 4.3 Wraps and overrides org.apache.http.impl.client.DefaultHttpClient's execute() methods. Accesses the global recorder upon each invocation to generate Segments. 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

    Modifier and Type Method Description
    org.apache.http.client.methods.CloseableHttpResponse execute​(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.protocol.HttpContext context)
    Deprecated.
     
    org.apache.http.client.methods.CloseableHttpResponse execute​(org.apache.http.HttpHost target, org.apache.http.HttpRequest request)
    Deprecated.
     
    org.apache.http.client.methods.CloseableHttpResponse execute​(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

    Methods inherited from class org.apache.http.impl.client.CloseableHttpClient

    execute, execute, execute, execute, execute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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.ClientProtocolException
      Deprecated.
      Specified by:
      execute in interface org.apache.http.client.HttpClient
      Overrides:
      execute in class org.apache.http.impl.client.CloseableHttpClient
      Throws:
      java.io.IOException
      org.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.ClientProtocolException
      Deprecated.
      Specified by:
      execute in interface org.apache.http.client.HttpClient
      Overrides:
      execute in class org.apache.http.impl.client.CloseableHttpClient
      Throws:
      java.io.IOException
      org.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.ClientProtocolException
      Deprecated.
      Specified by:
      execute in interface org.apache.http.client.HttpClient
      Overrides:
      execute in class org.apache.http.impl.client.CloseableHttpClient
      Throws:
      java.io.IOException
      org.apache.http.client.ClientProtocolException