@ThreadSafe public class RedirectExec extends Object implements ClientExecChain
Constructor and Description |
---|
RedirectExec(ClientExecChain requestExecutor,
HttpRoutePlanner routePlanner,
RedirectStrategy redirectStrategy) |
Modifier and Type | Method and Description |
---|---|
CloseableHttpResponse |
execute(HttpRoute route,
HttpRequestWrapper request,
HttpClientContext context,
HttpExecutionAware execAware) |
public RedirectExec(ClientExecChain requestExecutor, HttpRoutePlanner routePlanner, RedirectStrategy redirectStrategy)
public CloseableHttpResponse execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware) throws IOException, HttpException
execute
in interface ClientExecChain
IOException
HttpException
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.