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. If you have feedback or questions as you navigate the site, click Send Feedback.

AllMethodsRedirectHandler

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.api.urlfetch.dev

Class AllMethodsRedirectHandler

  • java.lang.Object
    • DefaultRedirectHandler
      • com.google.appengine.api.urlfetch.dev.AllMethodsRedirectHandler


  • public class AllMethodsRedirectHandler
    extends DefaultRedirectHandler
    A DefaultRedirectHandler that accepts redirects for 301,302,303,307 status codes from all methods. Code elsewhere (presumably implemented for SEE_OTHER handling), correctly takes care of making the redirects use the GET method.
    • Method Summary

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

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

      • AllMethodsRedirectHandler

        public AllMethodsRedirectHandler()
    • Method Detail

      • isRedirectRequested

        public boolean isRedirectRequested(HttpResponse response,
                                           HttpContext context)