public interface HttpAuthentication
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(HttpRequestBuilder builder)
Adds authentication information to the request.
|
boolean |
shouldRetry(org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> firstAttemptResult)
Detects if there was an authentication failure in the response.
|
void authenticate(HttpRequestBuilder builder) throws org.mule.runtime.api.exception.MuleException
builder - The builder that is being used to create the HTTP request.org.mule.runtime.api.exception.MuleExceptionboolean shouldRetry(org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> firstAttemptResult) throws org.mule.runtime.api.exception.MuleException
firstAttemptResult - The result with the response of the request.org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.