org.apache.http.impl.execchain
Class MainClientExec

java.lang.Object
  extended by org.apache.http.impl.execchain.MainClientExec
All Implemented Interfaces:
ClientExecChain

@Immutable
public class MainClientExec
extends Object
implements ClientExecChain

Since:
4.3

Constructor Summary
MainClientExec(HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler)
           
 
Method Summary
 CloseableHttpResponse execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainClientExec

public MainClientExec(HttpRequestExecutor requestExecutor,
                      HttpClientConnectionManager connManager,
                      ConnectionReuseStrategy reuseStrategy,
                      ConnectionKeepAliveStrategy keepAliveStrategy,
                      AuthenticationStrategy targetAuthStrategy,
                      AuthenticationStrategy proxyAuthStrategy,
                      UserTokenHandler userTokenHandler)
Method Detail

execute

public CloseableHttpResponse execute(HttpRoute route,
                                     HttpRequestWrapper request,
                                     HttpClientContext context,
                                     HttpExecutionAware execAware)
                              throws IOException,
                                     HttpException
Specified by:
execute in interface ClientExecChain
Throws:
IOException
HttpException


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