Class BlackDuckRedirectStrategy
- java.lang.Object
-
- com.synopsys.integration.blackduck.http.client.BlackDuckRedirectStrategy
-
- All Implemented Interfaces:
org.apache.http.client.RedirectStrategy
public class BlackDuckRedirectStrategy extends java.lang.Object implements org.apache.http.client.RedirectStrategy
-
-
Constructor Summary
Constructors Constructor Description BlackDuckRedirectStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.client.methods.HttpUriRequestgetRedirect(org.apache.http.HttpRequest httpRequest, org.apache.http.HttpResponse httpResponse, org.apache.http.protocol.HttpContext httpContext)booleanisRedirected(org.apache.http.HttpRequest httpRequest, org.apache.http.HttpResponse httpResponse, org.apache.http.protocol.HttpContext httpContext)
-
-
-
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:
isRedirectedin interfaceorg.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:
getRedirectin interfaceorg.apache.http.client.RedirectStrategy- Throws:
org.apache.http.ProtocolException
-
-