public class WagonRedirectStrategy
extends org.apache.http.impl.client.DefaultRedirectStrategy
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private static int |
SC_PERMANENT_REDIRECT |
| Constructor and Description |
|---|
WagonRedirectStrategy() |
| 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) |
private static final org.slf4j.Logger LOGGER
private static final int SC_PERMANENT_REDIRECT
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.RedirectStrategyisRedirected in class org.apache.http.impl.client.DefaultRedirectStrategyorg.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.RedirectStrategygetRedirect in class org.apache.http.impl.client.DefaultRedirectStrategyorg.apache.http.ProtocolException