| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRestConnection
Default implementation of
RestConnection |
| Modifier and Type | Method and Description |
|---|---|
RestConnection |
BaseConnectionProvider.connect() |
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) |
| 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 | Method and Description |
|---|---|
protected void |
BaseRestConnectOperation.doRequest(RestConnection connection,
org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder 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 |
BaseRestConnectOperation.doVoidRequest(RestConnection connection,
org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder 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 |
|---|
MarkerPagingProvider(String markerParamName,
String nextMarkerExpression,
Function<RestConnection,org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder> 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 mediaType,
String encoding,
int responseTimeout)
Creates a new instance
|
OffsetPagingProvider(String offsetParamName,
int initialOffset,
Function<RestConnection,org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder> 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 mediaType,
String encoding,
int responseTimeout)
Creates a new instance
|
PageNumberPagingProvider(String pageNumberParamName,
int initialPageNumber,
Function<RestConnection,org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder> 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 mediaType,
String encoding,
int responseTimeout)
Creates a new instance
|
RestPagingProvider(Function<RestConnection,org.mule.runtime.http.api.domain.message.request.HttpRequestBuilder> 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 mediaType,
String encoding,
int responseTimeout)
Creates a new instance
|
Copyright © 2019. All rights reserved.