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

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

Introduction

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

Prototype

public StatiscicsLoggingRequestDirector(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 AuthenticationHandler targetAuthHandler,
        final AuthenticationHandler proxyAuthHandler, final UserTokenHandler userTokenHandler,
        final HttpParams params, HashMap<Integer, ConnectionStatistics> connectionStats) 

Source Link

Usage

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

/**
 * @since 4.1/*from ww w.j  av  a  2s  .com*/
 */
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 stateHandler,
        final HttpParams params) {
    return new StatiscicsLoggingRequestDirector(log, requestExec, conman, reustrat, kastrat, rouplan,
            httpProcessor, retryHandler, redirectStrategy, targetAuthHandler, proxyAuthHandler, stateHandler,
            params, connectionStats);
}