Example usage for org.apache.http.impl.client DefaultRequestDirector DefaultRequestDirector

List of usage examples for org.apache.http.impl.client DefaultRequestDirector DefaultRequestDirector

Introduction

In this page you can find the example usage for org.apache.http.impl.client DefaultRequestDirector DefaultRequestDirector.

Prototype

public DefaultRequestDirector(final Log log, final HttpRequestExecutor requestExec,
        final ClientConnectionManager conman, final ConnectionReuseStrategy reustrat,
        final ConnectionKeepAliveStrategy kastrat, final HttpRoutePlanner rouplan,
        final HttpProcessor httpProcessor, final HttpRequestRetryHandler retryHandler,
        final RedirectStrategy redirectStrategy, final AuthenticationStrategy targetAuthStrategy,
        final AuthenticationStrategy proxyAuthStrategy, final UserTokenHandler userTokenHandler,
        final HttpParams params) 

Source Link

Usage

From source file:org.apache.http.impl.client.AbstractHttpClient.java

/**
 * @deprecated (4.2) do not use/* w w  w  . ja va2  s  .c om*/
 */
@Deprecated
protected RequestDirector createClientRequestDirector(final HttpRequestExecutor requestExec,
        final ClientConnectionManager conman, final ConnectionReuseStrategy reustrat,
        final ConnectionKeepAliveStrategy kastrat, final HttpRoutePlanner rouplan,
        final HttpProcessor httpProcessor, final HttpRequestRetryHandler retryHandler,
        final RedirectStrategy redirectStrategy, final AuthenticationHandler targetAuthHandler,
        final AuthenticationHandler proxyAuthHandler, final UserTokenHandler userTokenHandler,
        final HttpParams params) {
    return new DefaultRequestDirector(log, requestExec, conman, reustrat, kastrat, rouplan, httpProcessor,
            retryHandler, redirectStrategy, targetAuthHandler, proxyAuthHandler, userTokenHandler, params);
}

From source file:org.apache.http.impl.client.AbstractHttpClient.java

/**
 * @since 4.2//from   w w w  .  jav  a2s . c  om
 */
protected RequestDirector createClientRequestDirector(final HttpRequestExecutor requestExec,
        final ClientConnectionManager conman, final ConnectionReuseStrategy reustrat,
        final ConnectionKeepAliveStrategy kastrat, final HttpRoutePlanner rouplan,
        final HttpProcessor httpProcessor, final HttpRequestRetryHandler retryHandler,
        final RedirectStrategy redirectStrategy, final AuthenticationStrategy targetAuthStrategy,
        final AuthenticationStrategy proxyAuthStrategy, final UserTokenHandler userTokenHandler,
        final HttpParams params) {
    return new DefaultRequestDirector(log, requestExec, conman, reustrat, kastrat, rouplan, httpProcessor,
            retryHandler, redirectStrategy, targetAuthStrategy, proxyAuthStrategy, userTokenHandler, params);
}