Class BlackDuckRedirectStrategy

  • All Implemented Interfaces:
    org.apache.http.client.RedirectStrategy

    public class BlackDuckRedirectStrategy
    extends java.lang.Object
    implements org.apache.http.client.RedirectStrategy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.http.client.methods.HttpUriRequest getRedirect​(org.apache.http.HttpRequest httpRequest, org.apache.http.HttpResponse httpResponse, org.apache.http.protocol.HttpContext httpContext)  
      boolean isRedirected​(org.apache.http.HttpRequest httpRequest, org.apache.http.HttpResponse httpResponse, org.apache.http.protocol.HttpContext httpContext)  
      • Methods inherited from class java.lang.Object

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

      • BlackDuckRedirectStrategy

        public BlackDuckRedirectStrategy()
    • Method Detail

      • isRedirected

        public boolean isRedirected​(org.apache.http.HttpRequest httpRequest,
                                    org.apache.http.HttpResponse httpResponse,
                                    org.apache.http.protocol.HttpContext httpContext)
                             throws org.apache.http.ProtocolException
        Specified by:
        isRedirected in interface org.apache.http.client.RedirectStrategy
        Throws:
        org.apache.http.ProtocolException
      • getRedirect

        public org.apache.http.client.methods.HttpUriRequest getRedirect​(org.apache.http.HttpRequest httpRequest,
                                                                         org.apache.http.HttpResponse httpResponse,
                                                                         org.apache.http.protocol.HttpContext httpContext)
                                                                  throws org.apache.http.ProtocolException
        Specified by:
        getRedirect in interface org.apache.http.client.RedirectStrategy
        Throws:
        org.apache.http.ProtocolException