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

@Deprecated
    public DefaultRequestDirector(final HttpRequestExecutor requestExec, final ClientConnectionManager conman,
            final ConnectionReuseStrategy reustrat, final ConnectionKeepAliveStrategy kastrat,
            final HttpRoutePlanner rouplan, final HttpProcessor httpProcessor,
            final HttpRequestRetryHandler retryHandler, final RedirectHandler redirectHandler,
            final AuthenticationHandler targetAuthHandler, final AuthenticationHandler proxyAuthHandler,
            final UserTokenHandler userTokenHandler, final HttpParams params) 

Source Link

Usage

From source file:org.vietspider.net.client.impl.AbstractHttpClient.java

@SuppressWarnings("all")
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 RedirectHandler redirectHandler, final AuthenticationHandler targetAuthHandler,
        final AuthenticationHandler proxyAuthHandler, final UserTokenHandler stateHandler,
        final HttpParams params) {
    return new DefaultRequestDirector(requestExec, conman, reustrat, kastrat, rouplan, httpProcessor,
            retryHandler, redirectHandler, targetAuthHandler, proxyAuthHandler, stateHandler, params);
}

From source file:com.soundcloud.playerapi.ApiWrapper.java

/** This method mainly exists to make the wrapper more testable. oh, apache's insanity. */
protected RequestDirector getRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman,
        ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan,
        HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler,
        AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler,
        UserTokenHandler stateHandler, HttpParams params) {
    return new DefaultRequestDirector(requestExec, conman, reustrat, kastrat, rouplan, httpProcessor,
            retryHandler, redirectHandler, targetAuthHandler, proxyAuthHandler, stateHandler, params);
}

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

/**
 * @deprecated (4.1) do not use//  w  ww  .j a  v a  2 s.  c o m
 */
@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 RedirectHandler redirectHandler, final AuthenticationHandler targetAuthHandler,
        final AuthenticationHandler proxyAuthHandler, final UserTokenHandler userTokenHandler,
        final HttpParams params) {
    return new DefaultRequestDirector(requestExec, conman, reustrat, kastrat, rouplan, httpProcessor,
            retryHandler, redirectHandler, targetAuthHandler, proxyAuthHandler, userTokenHandler, params);
}

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

@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 org.apache.http.client.RedirectHandler redirectHandler,
        final AuthenticationHandler targetAuthHandler, final AuthenticationHandler proxyAuthHandler,
        final UserTokenHandler stateHandler, final HttpParams params) {
    return new DefaultRequestDirector(requestExec, conman, reustrat, kastrat, rouplan, httpProcessor,
            retryHandler, redirectHandler, targetAuthHandler, proxyAuthHandler, stateHandler, params);
}