public class FailureStatusCodeValidator extends RangeStatusCodeValidator
| Constructor and Description |
|---|
FailureStatusCodeValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> result)
Validates whether an HTTP response result should be accepted or not, failing in that case.
|
belongs, getExceptionMessage, getValues, setValuespublic void validate(org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> result) throws ResponseValidatorException
ResponseValidatorresult - the message to validateResponseValidatorException - if the message is not considered valid.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.