Package com.github.sardine.impl
Class SardineRedirectStrategy
java.lang.Object
org.apache.http.impl.client.DefaultRedirectStrategy
com.github.sardine.impl.SardineRedirectStrategy
- All Implemented Interfaces:
org.apache.http.client.RedirectStrategy
public class SardineRedirectStrategy
extends org.apache.http.impl.client.DefaultRedirectStrategy
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SardineRedirectStrategy() -
Method Summary
Modifier and Type Method Description org.apache.http.client.methods.HttpUriRequestgetRedirect(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)protected booleanisRedirectable(String method)
-
Constructor Details
-
SardineRedirectStrategy
public SardineRedirectStrategy()
-
-
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
-