public interface HttpAuthentication
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(Event muleEvent,
HttpRequestBuilder builder)
Adds authentication information to the request.
|
boolean |
shouldRetry(Event firstAttemptResponseEvent)
Detects if there was an authentication failure in the response.
|
void authenticate(Event muleEvent, HttpRequestBuilder builder) throws org.mule.runtime.api.exception.MuleException
muleEvent - The event that is being processed.builder - The builder that is being used to create the HTTP request.org.mule.runtime.api.exception.MuleExceptionboolean shouldRetry(Event firstAttemptResponseEvent) throws org.mule.runtime.api.exception.MuleException
firstAttemptResponseEvent - The event with the response of the request.org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.