public class RedirectUtils extends Object
| Constructor and Description |
|---|
RedirectUtils(boolean isStrict302Handling,
boolean preserveHeaderCase) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.http.api.domain.message.request.HttpRequest |
createRedirectRequest(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
org.mule.runtime.http.api.domain.message.request.HttpRequest request,
org.mule.runtime.http.api.client.HttpRequestOptions options)
Create a new request with the params of the original and the new URI from the LOCATION header.
|
boolean |
shouldFollowRedirect(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
org.mule.runtime.http.api.client.HttpRequestOptions options,
boolean enableMuleRedirect) |
public RedirectUtils(boolean isStrict302Handling,
boolean preserveHeaderCase)
public boolean shouldFollowRedirect(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
org.mule.runtime.http.api.client.HttpRequestOptions options,
boolean enableMuleRedirect)
response - HttpResponseoptions - HttpRequestOptionspublic org.mule.runtime.http.api.domain.message.request.HttpRequest createRedirectRequest(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
org.mule.runtime.http.api.domain.message.request.HttpRequest request,
org.mule.runtime.http.api.client.HttpRequestOptions options)
response - HttpResponserequest - HttpRequestCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.