public class CustomAwsRedirectStrategy
extends org.apache.http.impl.client.DefaultRedirectStrategy
The purpose of this implementation is to exclude the original CKO Headers from the request that is sent.
| Constructor and Description |
|---|
CustomAwsRedirectStrategy() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.HttpUriRequest |
getRedirect(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
public org.apache.http.client.methods.HttpUriRequest getRedirect(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.ProtocolException
getRedirect in interface org.apache.http.client.RedirectStrategygetRedirect in class org.apache.http.impl.client.DefaultRedirectStrategyorg.apache.http.ProtocolException