Deprecated API


Contents
Deprecated Interfaces
org.apache.http.client.methods.AbortableHttpRequest
          (4.3) use HttpExecutionAware 
org.apache.http.client.params.AllClientPNames
          (4.3) use RequestConfig, ConnectionConfig, SocketConfig 
org.apache.http.client.AuthenticationHandler
          (4.2) use AuthenticationStrategy 
org.apache.http.auth.params.AuthPNames
          (4.3) use RequestConfig and constructor parameters of AuthSchemeProviders. 
org.apache.http.auth.AuthSchemeFactory
          (4.3) use AuthSchemeProvider 
org.apache.http.conn.ClientConnectionManager
          (4.3) replaced by HttpClientConnectionManager. 
org.apache.http.conn.ClientConnectionManagerFactory
          (4.3) replaced by HttpClientConnectionManager. 
org.apache.http.conn.ClientConnectionOperator
          (4.3) replaced by HttpClientConnectionManager. 
org.apache.http.conn.ClientConnectionRequest
          (4.3) replaced by ConnectionRequest. 
org.apache.http.client.protocol.ClientContext
          (4.3) use HttpClientContext. 
org.apache.http.client.params.ClientPNames
          (4.3) use RequestConfig. 
org.apache.http.conn.params.ConnConnectionPNames
          (4.1) use custom DefaultHttpResponseParser implementation. 
org.apache.http.conn.params.ConnManagerPNames
          (4.1) use configuration methods of the specific connection manager implementation. 
org.apache.http.conn.params.ConnPerRoute
          (4.3) no longer used. 
org.apache.http.conn.params.ConnRoutePNames
          (4.3) use RequestConfig. 
org.apache.http.cookie.CookieSpecFactory
          (4.3) use CookieSpecProvider 
org.apache.http.cookie.params.CookieSpecPNames
          (4.3) use constructor parameters of CookieSpecProviders. 
org.apache.http.conn.scheme.HostNameResolver
          (4.1) Do not use 
org.apache.http.conn.HttpRoutedConnection
          (4.3) replaced by HttpClientConnectionManager. 
org.apache.http.client.utils.Idn
          (4.4) use standard IDN. 
org.apache.http.conn.scheme.LayeredSchemeSocketFactory
          (4.2) use SchemeLayeredSocketFactory 
org.apache.http.conn.scheme.LayeredSocketFactory
          (4.1) use SchemeSocketFactory 
org.apache.http.conn.ManagedClientConnection
          (4.3) replaced by HttpClientConnectionManager. 
org.apache.http.conn.OperatedClientConnection
          (4.3) replaced by HttpClientConnectionManager. 
org.apache.http.impl.conn.tsccm.PoolEntryRequest
          (4.2) use Future 
org.apache.http.conn.ssl.PrivateKeyStrategy
          (4.4) use PrivateKeyStrategy. 
org.apache.http.client.RedirectHandler
          (4.1) use RedirectStrategy 
org.apache.http.client.RequestDirector
          (4.3) No longer used 
org.apache.http.conn.scheme.SchemeLayeredSocketFactory
          (4.3) use LayeredConnectionSocketFactory 
org.apache.http.conn.scheme.SchemeSocketFactory
          (4.3) use ConnectionSocketFactory 
org.apache.http.conn.scheme.SocketFactory
          (4.1) use SchemeSocketFactory 
org.apache.http.impl.auth.SpnegoTokenGenerator
          (4.2) subclass KerberosScheme and override GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, String, org.apache.http.auth.Credentials) 
org.apache.http.conn.ssl.X509HostnameVerifier
          (4.4) Use HostnameVerifier. 
 

Deprecated Classes
org.apache.http.impl.client.AbstractAuthenticationHandler
          (4.2) use AuthenticationStrategy 
org.apache.http.impl.conn.AbstractClientConnAdapter
          (4.2) do not use 
org.apache.http.impl.conn.tsccm.AbstractConnPool
          (4.2) use AbstractConnPool 
org.apache.http.impl.client.AbstractHttpClient
          (4.3) use HttpClientBuilder. 
org.apache.http.impl.conn.AbstractPooledConnAdapter
          (4.2) do not use 
org.apache.http.impl.conn.AbstractPoolEntry
          (4.2) do not use 
org.apache.http.conn.ssl.AbstractVerifier
          (4.4) use an implementation of HostnameVerifier or DefaultHostnameVerifier. 
org.apache.http.conn.ssl.AllowAllHostnameVerifier
          (4.4) Use NoopHostnameVerifier 
org.apache.http.auth.params.AuthParamBean
          (4.3) use RequestConfig and constructor parameters of AuthSchemeProviders. 
org.apache.http.auth.params.AuthParams
          (4.3) use RequestConfig and constructor parameters of AuthSchemeProviders. 
org.apache.http.client.params.AuthPolicy
          (4.3) use AuthSchemes. 
org.apache.http.auth.AuthSchemeRegistry
          (4.3) use Registry 
org.apache.http.impl.client.AutoRetryHttpClient
          (4.3) use HttpClientBuilder. 
org.apache.http.impl.conn.BasicClientConnectionManager
          (4.3) use BasicHttpClientConnectionManager. 
org.apache.http.conn.BasicEofSensorWatcher
          (4.3) do not use. 
org.apache.http.conn.BasicManagedEntity
          (4.3) do not use. 
org.apache.http.impl.conn.tsccm.BasicPooledConnAdapter
          (4.2) do not use 
org.apache.http.impl.conn.tsccm.BasicPoolEntry
          (4.2) use PoolEntry 
org.apache.http.impl.conn.tsccm.BasicPoolEntryRef
          (4.2) do not use 
org.apache.http.impl.cookie.BestMatchSpec
          (4.4) use DefaultCookieSpec. 
org.apache.http.impl.cookie.BestMatchSpecFactory
          (4.4) use DefaultCookieSpecProvider. 
org.apache.http.conn.ssl.BrowserCompatHostnameVerifier
          (4.4) Use DefaultHostnameVerifier 
org.apache.http.impl.cookie.BrowserCompatSpec
          (4.4) use DefaultCookieSpec. 
org.apache.http.impl.cookie.BrowserCompatSpecFactory
          (4.4) use DefaultCookieSpecProvider. 
org.apache.http.impl.cookie.BrowserCompatVersionAttributeHandler
          (4.4) no longer used. 
org.apache.http.client.protocol.ClientContextConfigurer
          (4.3) use HttpClientContext 
org.apache.http.client.params.ClientParamBean
          (4.3) use RequestConfig. 
org.apache.http.impl.client.ClientParamsStack
          (4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config' 
org.apache.http.conn.params.ConnConnectionParamBean
          (4.1) use custom DefaultHttpResponseParser implementation. 
org.apache.http.conn.params.ConnManagerParamBean
          (4.1) use configuration methods of the specific connection manager implementation. 
org.apache.http.conn.params.ConnManagerParams
          (4.1) use configuration methods of the specific connection manager implementation. 
org.apache.http.conn.params.ConnPerRouteBean
          (4.2) use ConnPoolControl 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute
          (4.2) use AbstractConnPool 
org.apache.http.conn.params.ConnRouteParamBean
          (4.3) use RequestConfig. 
org.apache.http.conn.params.ConnRouteParams
          (4.3) use RequestConfig. 
org.apache.http.impl.client.ContentEncodingHttpClient
          (4.2) use HttpClientBuilder 
org.apache.http.client.params.CookiePolicy
          (4.3) use CookieSpecs. 
org.apache.http.cookie.params.CookieSpecParamBean
          (4.3) use constructor parameters of CookieSpecProviders. 
org.apache.http.cookie.CookieSpecRegistry
          (4.3) use Registry. 
org.apache.http.impl.cookie.DateUtils
          (4.3) Use DateUtils. 
org.apache.http.impl.client.DecompressingHttpClient
          (4.3) use HttpClientBuilder 
org.apache.http.impl.conn.DefaultClientConnection
          (4.3) use ManagedHttpClientConnectionFactory. 
org.apache.http.impl.conn.DefaultClientConnectionOperator
          (4.3) use PoolingHttpClientConnectionManager. 
org.apache.http.impl.client.DefaultHttpClient
          (4.3) use HttpClientBuilder see also CloseableHttpClient. 
org.apache.http.impl.conn.DefaultHttpRoutePlanner
          (4.3) use DefaultRoutePlanner 
org.apache.http.impl.client.DefaultProxyAuthenticationHandler
          (4.2) use ProxyAuthenticationStrategy 
org.apache.http.impl.client.DefaultRedirectHandler
          (4.1) use DefaultRedirectStrategy. 
org.apache.http.impl.client.DefaultRequestDirector
          (4.3) 
org.apache.http.impl.conn.DefaultResponseParser
          (4.2) use DefaultHttpResponseParser 
org.apache.http.impl.client.DefaultTargetAuthenticationHandler
          (4.2) use TargetAuthenticationStrategy 
org.apache.http.impl.client.EntityEnclosingRequestWrapper
          (4.3) do not use. 
org.apache.http.impl.client.HttpAuthenticator
          (4.3) reserved for internal use. 
org.apache.http.client.params.HttpClientParamConfig
          (4.3) provided for compatibility with HttpParams. Do not use. 
org.apache.http.client.params.HttpClientParams
          (4.3) use RequestConfig 
org.apache.http.conn.HttpInetSocketAddress
          (4.3) 
org.apache.http.impl.conn.IdleConnectionHandler
          (4.1) no longer used 
org.apache.http.impl.cookie.IgnoreSpecFactory
          (4.4) Use IgnoreSpecProvider. 
org.apache.http.client.utils.JdkIdn
          (4.4) use standard IDN. 
org.apache.http.impl.conn.LoggingSessionInputBuffer
          (4.3) no longer used. 
org.apache.http.impl.conn.LoggingSessionOutputBuffer
          (4.3) no longer used. 
org.apache.http.conn.MultihomePlainSocketFactory
          (4.1) Do not use. For multihome support socket factories must implement SchemeSocketFactory interface. 
org.apache.http.impl.auth.NegotiateScheme
          (4.2) use SPNegoScheme or KerberosScheme. 
org.apache.http.impl.auth.NegotiateSchemeFactory
          (4.2) use SPNegoSchemeFactory or KerberosSchemeFactory. 
org.apache.http.impl.cookie.NetscapeDraftSpecFactory
          (4.4) Use NetscapeDraftSpecProvider. 
org.apache.http.conn.scheme.PlainSocketFactory
          (4.3) use PlainConnectionSocketFactory 
org.apache.http.impl.conn.PoolingClientConnectionManager
          (4.3) use PoolingHttpClientConnectionManager. 
org.apache.http.conn.ssl.PrivateKeyDetails
          (4.4) use PrivateKeyDetails. 
org.apache.http.impl.conn.ProxySelectorRoutePlanner
          (4.3) use SystemDefaultRoutePlanner 
org.apache.http.impl.cookie.PublicSuffixFilter
          (4.4) use PublicSuffixDomainFilter 
org.apache.http.impl.cookie.PublicSuffixListParser
          (4.4) use PublicSuffixListParser. 
org.apache.http.client.utils.Punycode
          (4.4) use standard IDN. 
org.apache.http.client.protocol.RequestProxyAuthentication
          (4.3) use HttpAuthenticator. 
org.apache.http.client.protocol.RequestTargetAuthentication
          (4.3) use HttpAuthenticator. 
org.apache.http.impl.client.RequestWrapper
          (4.3) do not use. 
org.apache.http.client.protocol.ResponseAuthCache
          (4.2) use AuthenticationStrategy 
org.apache.http.impl.cookie.RFC2109SpecFactory
          (4.4) Use RFC2109SpecProvider. 
org.apache.http.impl.cookie.RFC2965SpecFactory
          (4.4) Use RFC2965SpecProvider. 
org.apache.http.client.utils.Rfc3492Idn
          (4.4) use standard IDN. 
org.apache.http.impl.client.RoutedRequest
          (4.3) do not use. 
org.apache.http.impl.conn.tsccm.RouteSpecificPool
          (4.2) use AbstractConnPool 
org.apache.http.conn.scheme.Scheme
          (4.3) use SchemePortResolver for default port resolution and Registry for socket factory lookups. 
org.apache.http.conn.scheme.SchemeRegistry
          (4.3) use Registry 
org.apache.http.impl.conn.SchemeRegistryFactory
          (4.3) use HttpClientBuilder. 
org.apache.http.impl.conn.SingleClientConnManager
          (4.2) use BasicClientConnectionManager 
org.apache.http.conn.ssl.SSLContextBuilder
          (4.4) use SSLContextBuilder. 
org.apache.http.conn.ssl.SSLContexts
          (4.4) use SSLContexts. 
org.apache.http.conn.ssl.SSLSocketFactory
          (4.3) use SSLConnectionSocketFactory. 
org.apache.http.conn.ssl.StrictHostnameVerifier
          (4.4) Use DefaultHostnameVerifier 
org.apache.http.impl.client.SystemDefaultHttpClient
          (4.3) use HttpClientBuilder 
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
          (4.2) use PoolingHttpClientConnectionManager 
org.apache.http.impl.conn.tsccm.WaitingThread
          (4.2) do not use 
org.apache.http.impl.conn.tsccm.WaitingThreadAborter
          (4.2) do not use 
 

Deprecated Exceptions
org.apache.http.impl.cookie.DateParseException
          (4.3) no longer used. 
org.apache.http.impl.client.TunnelRefusedException
          (4.3) reserved for internal use. 
 

Deprecated Fields
org.apache.http.conn.ssl.SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER
           
org.apache.http.client.protocol.ClientContext.AUTH_SCHEME_PREF
          (4.1) do not use 
org.apache.http.client.config.CookieSpecs.BEST_MATCH
          (4.4) use {link #DEFAULT}. 
org.apache.http.client.config.CookieSpecs.BROWSER_COMPATIBILITY
          (4.4) use {link #DEFAULT}. 
org.apache.http.conn.ssl.SSLConnectionSocketFactory.BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
           
org.apache.http.conn.params.ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE
          (4.1) Use custom DefaultHttpResponseParser implementation 
org.apache.http.impl.client.DefaultRequestDirector.proxyAuthHandler
           
org.apache.http.impl.client.DefaultRedirectStrategy.REDIRECT_LOCATIONS
          (4.3) use HttpClientContext.REDIRECT_LOCATIONS. 
org.apache.http.impl.client.DefaultRequestDirector.redirectHandler
           
org.apache.http.client.protocol.ClientContext.SCHEME_REGISTRY
           
org.apache.http.conn.ssl.SSLConnectionSocketFactory.STRICT_HOSTNAME_VERIFIER
           
org.apache.http.impl.client.DefaultRequestDirector.targetAuthHandler
           
 

Deprecated Methods
org.apache.http.impl.conn.AbstractPooledConnAdapter.assertAttached()
          (4.1) use AbstractPooledConnAdapter.assertValid(AbstractPoolEntry) 
org.apache.http.impl.conn.AbstractClientConnAdapter.assertNotAborted()
          (4.1) use AbstractClientConnAdapter.assertValid(OperatedClientConnection) 
org.apache.http.auth.AuthScheme.authenticate(Credentials, HttpRequest)
          (4.1) Use ContextAwareAuthScheme.authenticate(Credentials, HttpRequest, org.apache.http.protocol.HttpContext) 
org.apache.http.impl.auth.GGSSchemeBase.authenticate(Credentials, HttpRequest)
          (4.2) Use ContextAwareAuthScheme.authenticate( Credentials, HttpRequest, org.apache.http.protocol.HttpContext) 
org.apache.http.impl.auth.BasicScheme.authenticate(Credentials, HttpRequest)
          (4.2) Use ContextAwareAuthScheme.authenticate( Credentials, HttpRequest, org.apache.http.protocol.HttpContext) 
org.apache.http.impl.auth.CredSspScheme.authenticate(Credentials, HttpRequest)
           
org.apache.http.impl.auth.DigestScheme.authenticate(Credentials, HttpRequest)
          (4.2) Use ContextAwareAuthScheme.authenticate( Credentials, HttpRequest, org.apache.http.protocol.HttpContext) 
org.apache.http.impl.auth.BasicScheme.authenticate(Credentials, String, boolean)
          (4.3) use BasicScheme.authenticate(Credentials, HttpRequest, HttpContext). 
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(Socket, String, int, InetAddress, int, HttpParams)
          (4.1) Use PlainSocketFactory.connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams) 
org.apache.http.conn.BasicManagedEntity.consumeContent()
          (4.1) Use EntityUtils.consume(HttpEntity) 
org.apache.http.impl.client.AbstractHttpClient.createClientRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams)
          (4.1) do not use 
org.apache.http.impl.client.AbstractHttpClient.createClientRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectStrategy, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams)
          (4.2) do not use 
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.createConnectionPool(HttpParams)
          (4.1) use #createConnectionPool(long, TimeUnit)) 
org.apache.http.impl.client.AbstractHttpClient.createProxyAuthenticationHandler()
          (4.2) do not use 
org.apache.http.impl.client.AbstractHttpClient.createRedirectHandler()
          (4.1) do not use 
org.apache.http.impl.client.AbstractHttpClient.createTargetAuthenticationHandler()
          (4.2) do not use 
org.apache.http.client.utils.URIUtils.createURI(String, String, int, String, String, String)
          (4.2) use URIBuilder. 
org.apache.http.impl.client.HttpClientBuilder.evictIdleConnections(Long, TimeUnit)
          (4.5) use HttpClientBuilder.evictIdleConnections(long, TimeUnit) 
org.apache.http.impl.auth.GGSSchemeBase.generateToken(byte[], String)
          (4.4) Use GGSSchemeBase.generateToken(byte[], String, org.apache.http.auth.Credentials). 
org.apache.http.impl.client.ProxyClient.getAuthSchemeRegistry()
          (4.3) do not use. 
org.apache.http.auth.AuthState.getAuthScope()
          (4.2) do not use. 
org.apache.http.client.HttpClient.getConnectionManager()
          (4.3) use HttpClientBuilder. 
org.apache.http.client.HttpClient.getParams()
          (4.3) use RequestConfig. 
org.apache.http.client.methods.HttpRequestWrapper.getParams()
          (4.3) use RequestConfig. 
org.apache.http.impl.client.ProxyClient.getParams()
          (4.3) do not use. 
org.apache.http.impl.conn.AbstractPooledConnAdapter.getPoolEntry()
          (4.0.1) 
org.apache.http.impl.client.AbstractHttpClient.getProxyAuthenticationHandler()
          (4.2) do not use 
org.apache.http.impl.client.AbstractHttpClient.getRedirectHandler()
          (4.1) do not use 
org.apache.http.conn.scheme.Scheme.getSocketFactory()
          (4.1) Use Scheme.getSchemeSocketFactory() 
org.apache.http.impl.client.AbstractHttpClient.getTargetAuthenticationHandler()
          (4.2) do not use 
org.apache.http.conn.params.ConnManagerParams.getTimeout(HttpParams)
          (4.1) use HttpConnectionParams.getConnectionTimeout(HttpParams) 
org.apache.http.auth.AuthState.invalidate()
          (4.2) use AuthState.reset() 
org.apache.http.client.config.RequestConfig.isDecompressionEnabled()
          (4.5) Use RequestConfig.isContentCompressionEnabled() 
org.apache.http.client.config.RequestConfig.isStaleConnectionCheckEnabled()
          (4.4) Use PoolingHttpClientConnectionManager.getValidateAfterInactivity() 
org.apache.http.auth.AuthState.isValid()
          (4.2) do not use 
org.apache.http.client.utils.URLEncodedUtils.parse(List, Scanner, String)
          (4.4) use URLEncodedUtils.parse(String, java.nio.charset.Charset) 
org.apache.http.client.utils.URLEncodedUtils.parse(List, Scanner, String, String)
          (4.4) use URLEncodedUtils.parse(org.apache.http.util.CharArrayBuffer, java.nio.charset.Charset, char...) 
org.apache.http.client.utils.URLEncodedUtils.parse(URI, String)
          4.5 Use URLEncodedUtils.parse(URI, Charset) 
org.apache.http.impl.cookie.AbstractCookieSpec.registerAttribHandler(String, CookieAttributeHandler)
          (4.4) use AbstractCookieSpec.AbstractCookieSpec(java.util.HashMap) or AbstractCookieSpec.AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...) constructors instead. 
org.apache.http.impl.client.DefaultHttpRequestRetryHandler.requestIsAborted(HttpRequest)
          (4.3) 
org.apache.http.auth.AuthState.setAuthScheme(AuthScheme)
          (4.2) use AuthState.update(AuthScheme, Credentials) 
org.apache.http.auth.AuthState.setAuthScope(AuthScope)
          (4.2) do not use. 
org.apache.http.client.params.ClientParamBean.setConnectionManagerFactoryClassName(String)
          (4.2) do not use. 
org.apache.http.client.methods.AbstractExecutionAwareRequest.setConnectionRequest(ClientConnectionRequest)
           
org.apache.http.auth.AuthState.setCredentials(Credentials)
          (4.2) use AuthState.update(AuthScheme, Credentials) 
org.apache.http.client.config.RequestConfig.Builder.setDecompressionEnabled(boolean)
          (4.5) Set RequestConfig.Builder.setContentCompressionEnabled(boolean) to false and add the Accept-Encoding request header. 
org.apache.http.impl.client.HttpClientBuilder.setHostnameVerifier(X509HostnameVerifier)
          (4.4) 
org.apache.http.conn.params.ConnConnectionParamBean.setMaxStatusLineGarbage(int)
          (4.2) Use custom DefaultHttpResponseParser implementation 
org.apache.http.impl.client.AbstractHttpClient.setProxyAuthenticationHandler(AuthenticationHandler)
          (4.2) do not use 
org.apache.http.client.utils.URIBuilder.setQuery(String)
          (4.3) use URIBuilder.setParameters(List) or URIBuilder.setParameters(NameValuePair...) 
org.apache.http.impl.client.AbstractHttpClient.setRedirectHandler(RedirectHandler)
          (4.1) do not use 
org.apache.http.client.methods.AbstractExecutionAwareRequest.setReleaseTrigger(ConnectionReleaseTrigger)
           
org.apache.http.impl.client.HttpClientBuilder.setSslcontext(SSLContext)
          (4.5) use HttpClientBuilder.setSSLContext(SSLContext) 
org.apache.http.client.config.RequestConfig.Builder.setStaleConnectionCheckEnabled(boolean)
          (4.4) Use PoolingHttpClientConnectionManager.setValidateAfterInactivity(int) 
org.apache.http.impl.client.AbstractHttpClient.setTargetAuthenticationHandler(AuthenticationHandler)
          (4.2) do not use 
org.apache.http.conn.params.ConnManagerParams.setTimeout(HttpParams, long)
          (4.1) use HttpConnectionParams.setConnectionTimeout(HttpParams, int) 
 

Deprecated Constructors
org.apache.http.impl.auth.AuthSchemeBase(ChallengeState)
          (4.3) do not use. 
org.apache.http.impl.auth.BasicScheme(ChallengeState)
          (4.3) do not use. 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute(ClientConnectionOperator, HttpParams)
          (4.1) use ConnPoolByRoute.ConnPoolByRoute(ClientConnectionOperator, ConnPerRoute, int) 
org.apache.http.impl.conn.DefaultHttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, HttpParams)
          (4.3) use DefaultHttpResponseParser.DefaultHttpResponseParser( SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints) 
org.apache.http.impl.client.DefaultRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams)
           
org.apache.http.impl.client.DefaultRequestDirector(Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectStrategy, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams)
           
org.apache.http.impl.auth.DigestScheme(ChallengeState)
          (4.3) do not use. 
org.apache.http.conn.HttpHostConnectException(HttpHost, ConnectException)
          (4.3) use HttpHostConnectException.HttpHostConnectException(java.io.IOException, org.apache.http.HttpHost, java.net.InetAddress...) 
org.apache.http.auth.NTCredentials(String)
          (4.5) will be replaced with String, char[] in 5.0 
org.apache.http.conn.scheme.PlainSocketFactory(HostNameResolver)
          (4.1) use DnsResolver 
org.apache.http.impl.client.ProxyClient(HttpParams)
          (4.3) use ProxyClient.ProxyClient(HttpConnectionFactory, ConnectionConfig, RequestConfig) 
org.apache.http.impl.auth.RFC2617Scheme(ChallengeState)
          (4.3) do not use. 
org.apache.http.impl.conn.tsccm.RouteSpecificPool(HttpRoute, int)
          (4.1) use RouteSpecificPool.RouteSpecificPool(HttpRoute, ConnPerRoute) 
org.apache.http.conn.scheme.Scheme(String, SocketFactory, int)
          (4.1) Use Scheme.Scheme(String, int, SchemeSocketFactory) 
org.apache.http.impl.conn.SingleClientConnManager(HttpParams, SchemeRegistry)
          (4.1) use SingleClientConnManager.SingleClientConnManager(SchemeRegistry) 
org.apache.http.conn.ssl.SSLConnectionSocketFactory(SSLContext, String[], String[], X509HostnameVerifier)
          (4.4) Use SSLConnectionSocketFactory.SSLConnectionSocketFactory(javax.net.ssl.SSLContext, String[], String[], javax.net.ssl.HostnameVerifier) 
org.apache.http.conn.ssl.SSLConnectionSocketFactory(SSLContext, X509HostnameVerifier)
          (4.4) Use SSLConnectionSocketFactory.SSLConnectionSocketFactory(javax.net.ssl.SSLContext, javax.net.ssl.HostnameVerifier) 
org.apache.http.conn.ssl.SSLConnectionSocketFactory(SSLSocketFactory, String[], String[], X509HostnameVerifier)
          (4.4) Use SSLConnectionSocketFactory.SSLConnectionSocketFactory(javax.net.ssl.SSLSocketFactory, String[], String[], javax.net.ssl.HostnameVerifier) 
org.apache.http.conn.ssl.SSLConnectionSocketFactory(SSLSocketFactory, X509HostnameVerifier)
          (4.4) Use SSLConnectionSocketFactory.SSLConnectionSocketFactory(javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier) 
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager(HttpParams, SchemeRegistry)
          (4.1) use ThreadSafeClientConnManager.ThreadSafeClientConnManager(SchemeRegistry) 
org.apache.http.auth.UsernamePasswordCredentials(String)
          (4.5) will be replaced with String, char[] in 5.0 
 



Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.