org.apache.http.impl.nio.client
Class AbstractHttpAsyncClient

java.lang.Object
  extended by org.apache.http.impl.nio.client.AbstractHttpAsyncClient
All Implemented Interfaces:
HttpAsyncClient
Direct Known Subclasses:
DefaultHttpAsyncClient

Deprecated.

@Deprecated
public abstract class AbstractHttpAsyncClient
extends Object
implements HttpAsyncClient


Constructor Summary
protected AbstractHttpAsyncClient(ClientAsyncConnectionManager connmgr)
          Deprecated.  
protected AbstractHttpAsyncClient(org.apache.http.impl.nio.reactor.IOReactorConfig config)
          Deprecated.  
 
Method Summary
 void addRequestInterceptor(HttpRequestInterceptor itcp)
          Deprecated.  
 void addRequestInterceptor(HttpRequestInterceptor itcp, int index)
          Deprecated.  
 void addResponseInterceptor(HttpResponseInterceptor itcp)
          Deprecated.  
 void addResponseInterceptor(HttpResponseInterceptor itcp, int index)
          Deprecated.  
 void clearRequestInterceptors()
          Deprecated.  
 void clearResponseInterceptors()
          Deprecated.  
protected  AuthSchemeRegistry createAuthSchemeRegistry()
          Deprecated.  
protected  ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy()
          Deprecated.  
protected  ConnectionReuseStrategy createConnectionReuseStrategy()
          Deprecated.  
protected  CookieSpecRegistry createCookieSpecRegistry()
          Deprecated.  
protected  CookieStore createCookieStore()
          Deprecated.  
protected  CredentialsProvider createCredentialsProvider()
          Deprecated.  
protected  HttpContext createHttpContext()
          Deprecated.  
protected abstract  HttpParams createHttpParams()
          Deprecated.  
protected abstract  BasicHttpProcessor createHttpProcessor()
          Deprecated.  
protected  HttpRoutePlanner createHttpRoutePlanner()
          Deprecated.  
protected  AuthenticationStrategy createProxyAuthenticationStrategy()
          Deprecated.  
protected  AuthenticationStrategy createTargetAuthenticationStrategy()
          Deprecated.  
protected  UserTokenHandler createUserTokenHandler()
          Deprecated.  
<T> Future<T>
execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer, org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback)
          Deprecated.  
<T> Future<T>
execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer, org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer, HttpContext context, FutureCallback<T> callback)
          Deprecated.  
 Future<HttpResponse> execute(HttpHost target, HttpRequest request, FutureCallback<HttpResponse> callback)
          Deprecated.  
 Future<HttpResponse> execute(HttpHost target, HttpRequest request, HttpContext context, FutureCallback<HttpResponse> callback)
          Deprecated.  
 Future<HttpResponse> execute(HttpUriRequest request, FutureCallback<HttpResponse> callback)
          Deprecated.  
 Future<HttpResponse> execute(HttpUriRequest request, HttpContext context, FutureCallback<HttpResponse> callback)
          Deprecated.  
 AuthSchemeRegistry getAuthSchemes()
          Deprecated.  
 ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()
          Deprecated.  
 ClientAsyncConnectionManager getConnectionManager()
          Deprecated.  
 ConnectionReuseStrategy getConnectionReuseStrategy()
          Deprecated.  
 CookieSpecRegistry getCookieSpecs()
          Deprecated.  
 CookieStore getCookieStore()
          Deprecated.  
 CredentialsProvider getCredentialsProvider()
          Deprecated.  
protected  BasicHttpProcessor getHttpProcessor()
          Deprecated.  
 HttpParams getParams()
          Deprecated.  
 AuthenticationStrategy getProxyAuthenticationStrategy()
          Deprecated.  
 RedirectStrategy getRedirectStrategy()
          Deprecated.  
 HttpRequestInterceptor getRequestInterceptor(int index)
          Deprecated.  
 int getRequestInterceptorCount()
          Deprecated.  
 HttpResponseInterceptor getResponseInterceptor(int index)
          Deprecated.  
 int getResponseInterceptorCount()
          Deprecated.  
 HttpRoutePlanner getRoutePlanner()
          Deprecated.  
 org.apache.http.nio.reactor.IOReactorStatus getStatus()
          Deprecated.  
 AuthenticationStrategy getTargetAuthenticationStrategy()
          Deprecated.  
 UserTokenHandler getUserTokenHandler()
          Deprecated.  
 void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz)
          Deprecated.  
 void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz)
          Deprecated.  
 void setAuthSchemes(AuthSchemeRegistry authSchemeRegistry)
          Deprecated.  
 void setCookieSpecs(CookieSpecRegistry cookieSpecRegistry)
          Deprecated.  
 void setCookieStore(CookieStore cookieStore)
          Deprecated.  
 void setCredentialsProvider(CredentialsProvider credsProvider)
          Deprecated.  
 void setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
          Deprecated.  
 void setParams(HttpParams params)
          Deprecated.  
 void setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
          Deprecated.  
 void setRedirectStrategy(RedirectStrategy redirectStrategy)
          Deprecated.  
 void setReuseStrategy(ConnectionReuseStrategy reuseStrategy)
          Deprecated.  
 void setRoutePlanner(HttpRoutePlanner routePlanner)
          Deprecated.  
 void setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
          Deprecated.  
 void setUserTokenHandler(UserTokenHandler userTokenHandler)
          Deprecated.  
 void shutdown()
          Deprecated.  
 void start()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHttpAsyncClient

protected AbstractHttpAsyncClient(ClientAsyncConnectionManager connmgr)
Deprecated. 

AbstractHttpAsyncClient

protected AbstractHttpAsyncClient(org.apache.http.impl.nio.reactor.IOReactorConfig config)
                           throws org.apache.http.nio.reactor.IOReactorException
Deprecated. 
Throws:
org.apache.http.nio.reactor.IOReactorException
Method Detail

createHttpParams

protected abstract HttpParams createHttpParams()
Deprecated. 

createHttpProcessor

protected abstract BasicHttpProcessor createHttpProcessor()
Deprecated. 

createHttpContext

protected HttpContext createHttpContext()
Deprecated. 

createConnectionReuseStrategy

protected ConnectionReuseStrategy createConnectionReuseStrategy()
Deprecated. 

createConnectionKeepAliveStrategy

protected ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy()
Deprecated. 

createAuthSchemeRegistry

protected AuthSchemeRegistry createAuthSchemeRegistry()
Deprecated. 

createCookieSpecRegistry

protected CookieSpecRegistry createCookieSpecRegistry()
Deprecated. 

createTargetAuthenticationStrategy

protected AuthenticationStrategy createTargetAuthenticationStrategy()
Deprecated. 

createProxyAuthenticationStrategy

protected AuthenticationStrategy createProxyAuthenticationStrategy()
Deprecated. 

createCookieStore

protected CookieStore createCookieStore()
Deprecated. 

createCredentialsProvider

protected CredentialsProvider createCredentialsProvider()
Deprecated. 

createHttpRoutePlanner

protected HttpRoutePlanner createHttpRoutePlanner()
Deprecated. 

createUserTokenHandler

protected UserTokenHandler createUserTokenHandler()
Deprecated. 

getParams

public final HttpParams getParams()
Deprecated. 
Specified by:
getParams in interface HttpAsyncClient

setParams

public void setParams(HttpParams params)
Deprecated. 

getConnectionManager

public ClientAsyncConnectionManager getConnectionManager()
Deprecated. 
Specified by:
getConnectionManager in interface HttpAsyncClient

getConnectionReuseStrategy

public final ConnectionReuseStrategy getConnectionReuseStrategy()
Deprecated. 

setReuseStrategy

public void setReuseStrategy(ConnectionReuseStrategy reuseStrategy)
Deprecated. 

getConnectionKeepAliveStrategy

public final ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()
Deprecated. 

setKeepAliveStrategy

public void setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
Deprecated. 

getRedirectStrategy

public final RedirectStrategy getRedirectStrategy()
Deprecated. 

setRedirectStrategy

public void setRedirectStrategy(RedirectStrategy redirectStrategy)
Deprecated. 

getAuthSchemes

public final AuthSchemeRegistry getAuthSchemes()
Deprecated. 

setAuthSchemes

public void setAuthSchemes(AuthSchemeRegistry authSchemeRegistry)
Deprecated. 

getCookieSpecs

public final CookieSpecRegistry getCookieSpecs()
Deprecated. 

setCookieSpecs

public void setCookieSpecs(CookieSpecRegistry cookieSpecRegistry)
Deprecated. 

getTargetAuthenticationStrategy

public final AuthenticationStrategy getTargetAuthenticationStrategy()
Deprecated. 

setTargetAuthenticationStrategy

public void setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Deprecated. 

getProxyAuthenticationStrategy

public final AuthenticationStrategy getProxyAuthenticationStrategy()
Deprecated. 

setProxyAuthenticationStrategy

public void setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
Deprecated. 

getCookieStore

public final CookieStore getCookieStore()
Deprecated. 

setCookieStore

public void setCookieStore(CookieStore cookieStore)
Deprecated. 

getCredentialsProvider

public final CredentialsProvider getCredentialsProvider()
Deprecated. 

setCredentialsProvider

public void setCredentialsProvider(CredentialsProvider credsProvider)
Deprecated. 

getRoutePlanner

public final HttpRoutePlanner getRoutePlanner()
Deprecated. 

setRoutePlanner

public void setRoutePlanner(HttpRoutePlanner routePlanner)
Deprecated. 

getUserTokenHandler

public final UserTokenHandler getUserTokenHandler()
Deprecated. 

setUserTokenHandler

public void setUserTokenHandler(UserTokenHandler userTokenHandler)
Deprecated. 

getHttpProcessor

protected final BasicHttpProcessor getHttpProcessor()
Deprecated. 

getResponseInterceptorCount

public int getResponseInterceptorCount()
Deprecated. 

getResponseInterceptor

public HttpResponseInterceptor getResponseInterceptor(int index)
Deprecated. 

getRequestInterceptor

public HttpRequestInterceptor getRequestInterceptor(int index)
Deprecated. 

getRequestInterceptorCount

public int getRequestInterceptorCount()
Deprecated. 

addResponseInterceptor

public void addResponseInterceptor(HttpResponseInterceptor itcp)
Deprecated. 

addResponseInterceptor

public void addResponseInterceptor(HttpResponseInterceptor itcp,
                                   int index)
Deprecated. 

clearResponseInterceptors

public void clearResponseInterceptors()
Deprecated. 

removeResponseInterceptorByClass

public void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz)
Deprecated. 

addRequestInterceptor

public void addRequestInterceptor(HttpRequestInterceptor itcp)
Deprecated. 

addRequestInterceptor

public void addRequestInterceptor(HttpRequestInterceptor itcp,
                                  int index)
Deprecated. 

clearRequestInterceptors

public void clearRequestInterceptors()
Deprecated. 

removeRequestInterceptorByClass

public void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz)
Deprecated. 

getStatus

public org.apache.http.nio.reactor.IOReactorStatus getStatus()
Deprecated. 
Specified by:
getStatus in interface HttpAsyncClient

start

public void start()
Deprecated. 
Specified by:
start in interface HttpAsyncClient

shutdown

public void shutdown()
              throws InterruptedException
Deprecated. 
Specified by:
shutdown in interface HttpAsyncClient
Throws:
InterruptedException

execute

public <T> Future<T> execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer,
                             org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer,
                             HttpContext context,
                             FutureCallback<T> callback)
Deprecated. 
Specified by:
execute in interface HttpAsyncClient

execute

public <T> Future<T> execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer,
                             org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer,
                             FutureCallback<T> callback)
Deprecated. 
Specified by:
execute in interface HttpAsyncClient

execute

public Future<HttpResponse> execute(HttpHost target,
                                    HttpRequest request,
                                    HttpContext context,
                                    FutureCallback<HttpResponse> callback)
Deprecated. 
Specified by:
execute in interface HttpAsyncClient

execute

public Future<HttpResponse> execute(HttpHost target,
                                    HttpRequest request,
                                    FutureCallback<HttpResponse> callback)
Deprecated. 
Specified by:
execute in interface HttpAsyncClient

execute

public Future<HttpResponse> execute(HttpUriRequest request,
                                    FutureCallback<HttpResponse> callback)
Deprecated. 
Specified by:
execute in interface HttpAsyncClient

execute

public Future<HttpResponse> execute(HttpUriRequest request,
                                    HttpContext context,
                                    FutureCallback<HttpResponse> callback)
Deprecated. 
Specified by:
execute in interface HttpAsyncClient


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.