public class BearerRestConnection extends DefaultRestConnection
DefaultRestConnection for resources protected with Bearer, regardless of the grant type.| Constructor and Description |
|---|
BearerRestConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.HttpRequestOptions httpRequestOptions,
String baseUri,
String token) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticate(org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder httpRequestBuilder)
Allows to different type of connections to intercept the request before sending the HTTP call.
|
getBaseUri, send, sendAsync, validateprotected void authenticate(org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder httpRequestBuilder)
DefaultRestConnectionauthenticate in class DefaultRestConnectionhttpRequestBuilder - HttpRequestBuilder populated with the values from the original HttpRequest.Copyright © 2022. All rights reserved.