Class AllMethodsRedirectStrategy

  • java.lang.Object
    • DefaultRedirectStrategy

  • 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)

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java