Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

AllMethodsRedirectStrategy

Stay organized with collections Save and categorize content based on your preferences.
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)