| 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) |
| Modifier and Type | Method and Description |
|---|---|
static RestConnectError |
RestConnectError.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestConnectError[] |
RestConnectError.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<RestConnectError> |
RestConnectError.getErrorByCode(int statusCode)
Returns the
RestConnectError corresponding to a given status code. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<org.mule.runtime.http.api.HttpConstants.HttpStatus> |
RestConnectError.getHttpStatus(RestConnectError error)
Returns an
HttpConstants.HttpStatus corresponding to a given RestConnectError. |
| Constructor and Description |
|---|
RequestException(RestConnectError error,
org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> response)
Creates a new instance
|
Copyright © 2019. All rights reserved.