Example usage for org.apache.http.impl.auth HttpAuthenticator HttpAuthenticator

List of usage examples for org.apache.http.impl.auth HttpAuthenticator HttpAuthenticator

Introduction

In this page you can find the example usage for org.apache.http.impl.auth HttpAuthenticator HttpAuthenticator.

Prototype

public HttpAuthenticator(final Log log) 

Source Link

Usage

From source file:org.apache.http.impl.nio.client.MainClientExec.java

public MainClientExec(final HttpProcessor httpProcessor, final HttpRoutePlanner routePlanner,
        final RedirectStrategy redirectStrategy, final AuthenticationStrategy targetAuthStrategy,
        final AuthenticationStrategy proxyAuthStrategy, final UserTokenHandler userTokenHandler) {
    super();//ww  w.j  ava 2 s .  c o m
    this.httpProcessor = httpProcessor;
    this.proxyHttpProcessor = new ImmutableHttpProcessor(new RequestTargetHost(),
            new RequestClientConnControl());
    this.routePlanner = routePlanner;
    this.redirectStrategy = redirectStrategy;
    this.targetAuthStrategy = targetAuthStrategy;
    this.proxyAuthStrategy = proxyAuthStrategy;
    this.userTokenHandler = userTokenHandler;
    this.routeDirector = new BasicRouteDirector();
    this.authenticator = new HttpAuthenticator(log);
}