| Package | Description |
|---|---|
| org.mule.extension.http.api.error | |
| org.mule.extension.http.api.request.validator |
| Modifier and Type | Method and Description |
|---|---|
static HttpError |
HttpError.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpError[] |
HttpError.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<HttpError> |
HttpError.getErrorByCode(int statusCode)
Returns the
HttpError corresponding to a given status code. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<HttpConstants.HttpStatus> |
HttpError.getHttpStatus(HttpError error)
Returns an
HttpConstants.HttpStatus corresponding to a given HttpError. |
| Constructor and Description |
|---|
ResponseValidatorException(String message,
Optional<HttpError> error) |
ResponseValidatorException(String message,
Optional<HttpError> error,
org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> result) |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.