com.atlassian.httpclient.apache.httpcomponents
Class RedirectStrategy

java.lang.Object
  extended by org.apache.http.impl.client.DefaultRedirectStrategy
      extended by 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
 
Constructor Summary
RedirectStrategy()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.http.impl.client.DefaultRedirectStrategy
createLocationURI, getLocationURI, isRedirected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectStrategy

public RedirectStrategy()
Method Detail

isRedirectable

public boolean isRedirectable(String method)
Overrides:
isRedirectable in class org.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 interface org.apache.http.client.RedirectStrategy
Overrides:
getRedirect in class org.apache.http.impl.client.DefaultRedirectStrategy
Throws:
org.apache.http.ProtocolException


Copyright © 2012–2015 Atlassian. All rights reserved.