AllMethodsRedirectStrategy

com.google.appengine.api.urlfetch.dev

Class AllMethodsRedirectStrategy

  • java.lang.Object
    • DefaultRedirectStrategy
      • com.google.appengine.api.urlfetch.dev.AllMethodsRedirectStrategy


  • public class AllMethodsRedirectStrategy
    extends DefaultRedirectStrategy
    A DefaultRedirectStrategy that accepts redirects for 301,302,303,307 status codes from all methods. getRedirect in DefaultRedirectStrategy correctly takes care of making the redirects to use correct methods for different status codes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isRedirected(HttpRequest request, HttpResponse response, HttpContext context) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AllMethodsRedirectStrategy

        public AllMethodsRedirectStrategy()
    • Method Detail

      • isRedirected

        public boolean isRedirected(HttpRequest request,
                                    HttpResponse response,
                                    HttpContext context)