static class HttpClientFactory.MyRedirectHandler
extends java.lang.Object
implements org.apache.http.client.RedirectStrategy
| Constructor and Description |
|---|
MyRedirectHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.HttpUriRequest |
getRedirect(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
boolean |
isRedirected(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
public boolean isRedirected(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.ProtocolException
isRedirected in interface org.apache.http.client.RedirectStrategyorg.apache.http.ProtocolExceptionpublic org.apache.http.client.methods.HttpUriRequest getRedirect(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.ProtocolException
getRedirect in interface org.apache.http.client.RedirectStrategyorg.apache.http.ProtocolException