Class RedirectStrategy
java.lang.Object
org.apache.http.impl.client.DefaultRedirectStrategy
com.atlassian.httpclient.apache.httpcomponents.RedirectStrategy
- All Implemented Interfaces:
org.apache.http.client.RedirectStrategy
public class RedirectStrategy
extends org.apache.http.impl.client.DefaultRedirectStrategy
-
Field Summary
Fields inherited from class org.apache.http.impl.client.DefaultRedirectStrategy
INSTANCE, REDIRECT_LOCATIONS, SC_PERMANENT_REDIRECT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.client.methods.HttpUriRequestgetRedirect(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) booleanisRedirectable(String method) Methods inherited from class org.apache.http.impl.client.DefaultRedirectStrategy
createLocationURI, getLocationURI, isRedirected
-
Constructor Details
-
RedirectStrategy
public RedirectStrategy()
-
-
Method Details
-
isRedirectable
- Overrides:
isRedirectablein classorg.apache.http.impl.client.DefaultRedirectStrategy
-
getRedirect
public 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 - Specified by:
getRedirectin interfaceorg.apache.http.client.RedirectStrategy- Overrides:
getRedirectin classorg.apache.http.impl.client.DefaultRedirectStrategy- Throws:
org.apache.http.ProtocolException
-