Class BackWardCompatibleRedirectStrategy

java.lang.Object
org.apache.hc.client5.http.impl.DefaultRedirectStrategy
jenkins.plugins.http_request.util.BackWardCompatibleRedirectStrategy
All Implemented Interfaces:
org.apache.hc.client5.http.protocol.RedirectStrategy

public class BackWardCompatibleRedirectStrategy extends org.apache.hc.client5.http.impl.DefaultRedirectStrategy
  • Field Summary

    Fields inherited from class org.apache.hc.client5.http.impl.DefaultRedirectStrategy

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
    isRedirected(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.protocol.HttpContext context)
     

    Methods inherited from class org.apache.hc.client5.http.impl.DefaultRedirectStrategy

    createLocationURI, getLocationURI, isRedirectAllowed

    Methods inherited from class java.lang.Object

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

    • BackWardCompatibleRedirectStrategy

      public BackWardCompatibleRedirectStrategy()
  • Method Details

    • isRedirected

      public boolean isRedirected(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.protocol.HttpContext context)
      Specified by:
      isRedirected in interface org.apache.hc.client5.http.protocol.RedirectStrategy
      Overrides:
      isRedirected in class org.apache.hc.client5.http.impl.DefaultRedirectStrategy
    • isRedirectable

      protected boolean isRedirectable(String method)