List of usage examples for org.apache.http.impl.client DefaultRedirectStrategyAdaptor DefaultRedirectStrategyAdaptor
public DefaultRedirectStrategyAdaptor(final RedirectHandler handler)
From source file:org.apache.http.impl.client.AbstractHttpClient.java
/** * @deprecated (4.1) do not use/*ww w . j a v a 2 s . c om*/ */ @Deprecated public synchronized void setRedirectHandler(final RedirectHandler handler) { this.redirectStrategy = new DefaultRedirectStrategyAdaptor(handler); }
From source file:org.apache.http.impl.client.AbstractStatisticsGatheringHttpClient.java
@Deprecated public synchronized void setRedirectHandler(final RedirectHandler redirectHandler) { this.redirectStrategy = new DefaultRedirectStrategyAdaptor(redirectHandler); }
From source file:org.apache.http.impl.client.DefaultRequestDirector.java
@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) { this(LogFactory.getLog(DefaultRequestDirector.class), requestExec, conman, reustrat, kastrat, rouplan, httpProcessor, retryHandler, new DefaultRedirectStrategyAdaptor(redirectHandler), new AuthenticationStrategyAdaptor(targetAuthHandler), new AuthenticationStrategyAdaptor(proxyAuthHandler), userTokenHandler, params); }