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