| Modifier and Type | Method and Description |
|---|---|
protected HttpResponseAttributes |
DefaultRestConnection.toAttributes(org.mule.runtime.http.api.domain.message.response.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<String,HttpResponseAttributes>> |
RestConnection.bodylessRequest(RestRequestBuilder requestBuilder,
int responseTimeoutMillis,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper)
Sends a request for which a response entity is not expected.
|
CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<String,HttpResponseAttributes>> |
DefaultRestConnection.bodylessRequest(RestRequestBuilder requestBuilder,
int responseTimeoutMillis,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper)
Sends a request for which a response entity is not expected.
|
CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,HttpResponseAttributes>> |
RestConnection.request(RestRequestBuilder requestBuilder,
int responseTimeoutMillis,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper)
Sends a request and returns a
CompletableFuture with a Result which output is the response body in
the form of an InputStream and a HttpResponseAttributes. |
CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,HttpResponseAttributes>> |
DefaultRestConnection.request(RestRequestBuilder requestBuilder,
int responseTimeoutMillis,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper)
Sends a request and returns a
CompletableFuture with a Result which output is the response body in
the form of an InputStream and a HttpResponseAttributes. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultRestConnection.handleResponseError(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType,
CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,HttpResponseAttributes>> future,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
RestError error) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
OAuthRestConnection.handleResponseError(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
org.mule.runtime.api.metadata.MediaType defaultResponseMediaType,
CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,HttpResponseAttributes>> future,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
RestError error) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.extension.api.runtime.operation.Result<org.mule.runtime.api.metadata.TypedValue<String>,HttpResponseAttributes> |
RestSampleDataProvider.getResult() |
org.mule.sdk.api.runtime.operation.Result<InputStream,HttpResponseAttributes> |
RestSampleDataProviderTrigger.getSample() |
| Constructor and Description |
|---|
RequestException(RestError error,
org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> response)
Creates a new instance
|
| 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 |
|---|---|
protected <T> org.mule.runtime.api.metadata.TypedValue<T> |
RestPagingProvider.evaluate(org.mule.runtime.api.metadata.TypedValue<String> content,
String expression,
org.mule.runtime.api.metadata.DataType expectedOutputType,
HttpResponseAttributes httpResponseAttributes) |
protected void |
OffsetPagingProvider.onPage(List<org.mule.runtime.api.metadata.TypedValue<String>> page,
org.mule.runtime.api.metadata.TypedValue<String> rawPage,
HttpResponseAttributes httpResponseAttributes) |
protected void |
PageNumberPagingProvider.onPage(List<org.mule.runtime.api.metadata.TypedValue<String>> page,
org.mule.runtime.api.metadata.TypedValue<String> rawPage,
HttpResponseAttributes httpResponseAttributes) |
protected void |
RestPagingProvider.onPage(List<org.mule.runtime.api.metadata.TypedValue<String>> page,
org.mule.runtime.api.metadata.TypedValue<String> rawPage,
HttpResponseAttributes responseAttributes)
Invoked each time a page is obtained.
|
protected void |
MarkerPagingProvider.onPage(List<org.mule.runtime.api.metadata.TypedValue<String>> page,
org.mule.runtime.api.metadata.TypedValue<String> rawPage,
HttpResponseAttributes responseAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
RestPollingSource.onRejectedItem(org.mule.runtime.extension.api.runtime.operation.Result<org.mule.runtime.api.metadata.TypedValue<InputStream>,HttpResponseAttributes> result,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext) |
void |
RestPollingSource.poll(org.mule.runtime.extension.api.runtime.source.PollContext<org.mule.runtime.api.metadata.TypedValue<InputStream>,HttpResponseAttributes> pollContext) |
| Modifier and Type | Method and Description |
|---|---|
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.