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