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
-
-
Constructor Summary
Constructors Constructor Description RedirectStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
isRedirectable(String method)
-
-
-
Method Detail
-
isRedirectable
public boolean isRedirectable(String method)
- Overrides:
isRedirectable
in 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:
getRedirect
in interfaceorg.apache.http.client.RedirectStrategy
- Overrides:
getRedirect
in classorg.apache.http.impl.client.DefaultRedirectStrategy
- Throws:
org.apache.http.ProtocolException
-
-