| 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>> |
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<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<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. |
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. |
| 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,
RestConnectError 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,
RestConnectError error) |
| Constructor and Description |
|---|
RequestException(RestConnectError error,
org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> response)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseRestConnectOperation.doRequest(RestConnectConfiguration 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 |
BaseRestConnectOperation.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 |
MarkerPagingProvider.onPage(List<org.mule.runtime.api.metadata.TypedValue<String>> page,
org.mule.runtime.api.metadata.TypedValue<String> rawPage,
HttpResponseAttributes responseAttributes) |
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 |
OffsetPagingProvider.onPage(List<org.mule.runtime.api.metadata.TypedValue<String>> page,
org.mule.runtime.api.metadata.TypedValue<String> rawPage,
HttpResponseAttributes httpResponseAttributes) |
Copyright © 2020. All rights reserved.