List of usage examples for org.apache.http.impl.auth HttpAuthenticator HttpAuthenticator
public HttpAuthenticator(final Log log)
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); }