| Modifier and Type | Class and Description |
|---|---|
class |
BearerRestConnection
Specialization of
DefaultRestConnection for resources protected with OAuth, regardless of the grant type. |
class |
DefaultRestConnection
Default implementation of
RestConnection |
| Modifier and Type | Method and Description |
|---|---|
RestConnection |
BaseConnectionProvider.connect() |
protected RestConnection |
BearerAuthenticationConnectionProvider.createConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.auth.HttpAuthentication authentication,
org.mule.runtime.api.util.MultiMap<String,String> defaultQueryParams,
org.mule.runtime.api.util.MultiMap<String,String> defaultHeaders) |
protected RestConnection |
BaseConnectionProvider.createConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.auth.HttpAuthentication authentication,
org.mule.runtime.api.util.MultiMap<String,String> defaultQueryParams,
org.mule.runtime.api.util.MultiMap<String,String> defaultHeaders)
Creates a new
RestConnection |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseConnectionProvider.disconnect(RestConnection restConnection) |
org.mule.runtime.api.connection.ConnectionValidationResult |
BaseConnectionProvider.validate(RestConnection restConnection) |
protected org.mule.runtime.api.connection.ConnectionValidationResult |
BaseConnectionProvider.validate(RestConnection restConnection,
ConnectionValidationSettings settings) |
| Modifier and Type | Class and Description |
|---|---|
class |
OAuthRestConnection
Specialization of
DefaultRestConnection for resources protected with OAuth, regardless of the grant type. |
| Modifier and Type | Method and Description |
|---|---|
protected RestConnection |
BaseClientCredentialsConnectionProvider.createConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.auth.HttpAuthentication authentication,
org.mule.runtime.api.util.MultiMap<String,String> defaultQueryParams,
org.mule.runtime.api.util.MultiMap<String,String> defaultHeaders) |
protected RestConnection |
BaseAuthorizationCodeConnectionProvider.createConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.auth.HttpAuthentication authentication,
org.mule.runtime.api.util.MultiMap<String,String> defaultQueryParams,
org.mule.runtime.api.util.MultiMap<String,String> defaultHeaders) |
| Modifier and Type | Field and Description |
|---|---|
protected RestConnection |
RestValueProvider.connection |
protected RestConnection |
ExtensionsRestValueProvider.connection |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseRestOperation.doRequest(RestConfiguration config,
RestConnection connection,
RestRequestBuilder builder,
int responseTimeoutMillis,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,HttpResponseAttributes> callback)
Performs the request using the given
builder and connection and completes the callback accordingly. |
protected void |
BaseRestOperation.doVoidRequest(RestConnection connection,
RestRequestBuilder builder,
int responseTimeoutMillis,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,HttpResponseAttributes> callback)
Performs the request using the given
builder and connection and completes the callback accordingly,
expecting the response to not contain a body. |
| Modifier and Type | Method and Description |
|---|---|
void |
RestPagingProvider.close(RestConnection connection) |
protected void |
RestPagingProvider.doClose(RestConnection connection)
Invoked when
RestPagingProvider.close(RestConnection) is invoked |
List<org.mule.runtime.api.metadata.TypedValue<String>> |
RestPagingProvider.getPage(RestConnection connection) |
Optional<Integer> |
RestPagingProvider.getTotalResults(RestConnection connection) |
| Constructor and Description |
|---|
HypermediaPagingProvider(String nextUrlExpression,
Function<RestConnection,RestRequestBuilder> requestFactory,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
String payloadExpression,
org.mule.runtime.api.metadata.MediaType defaultMediaType,
int responseTimeout)
Creates a new instance
|
MarkerPagingProvider(String markerParamName,
String nextMarkerExpression,
Function<RestConnection,RestRequestBuilder> requestFactory,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
String payloadExpression,
org.mule.runtime.api.metadata.MediaType defaultMediaType,
int responseTimeout)
Creates a new instance
|
OffsetPagingProvider(String offsetParamName,
int initialOffset,
Function<RestConnection,RestRequestBuilder> requestFactory,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
String payloadExpression,
org.mule.runtime.api.metadata.MediaType defaultMediaType,
int responseTimeout)
Creates a new instance
|
PageNumberPagingProvider(String pageNumberParamName,
String pageCountExpression,
int initialPageNumber,
Function<RestConnection,RestRequestBuilder> requestFactory,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
String payloadExpression,
org.mule.runtime.api.metadata.MediaType defaultMediaType,
int responseTimeout)
Creates a new instance
|
RestPagingProvider(Function<RestConnection,RestRequestBuilder> requestFactory,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
String payloadExpression,
org.mule.runtime.api.metadata.MediaType defaultMediaType,
int responseTimeout)
Creates a new instance
|
| Modifier and Type | Field and Description |
|---|---|
protected RestConnection |
RestPollingSource.connection |
| Modifier and Type | Method and Description |
|---|---|
static EvaluationContext |
ResolverUtil.createParentEvaluationContext(EvaluationContext globalEvaluationContext,
RestConfiguration config,
RestConnection connection,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage) |
static org.mule.runtime.extension.api.runtime.operation.Result<InputStream,HttpResponseAttributes> |
RequestStreamingUtils.doRequest(RestConnection connection,
RestConfiguration config,
RestRequestBuilder requestBuilder,
org.mule.runtime.api.metadata.MediaType mediaType) |
static org.mule.runtime.extension.api.runtime.operation.Result<org.mule.runtime.api.metadata.TypedValue<String>,HttpResponseAttributes> |
RequestStreamingUtils.doRequestAndConsumeString(RestConnection connection,
RestConfiguration config,
RestRequestBuilder requestBuilder,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType)
Does a request as specified in the provided request builder using the connection, config and media type provided.
|
Copyright © 2021. All rights reserved.