public class BodyValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
BodyValidator() |
| Modifier and Type | Method and Description |
|---|---|
static ValidBody |
validate(org.mule.raml.interfaces.model.IAction action,
org.mule.extension.http.api.HttpRequestAttributes attributes,
Object payload,
ValidationConfig config,
String charset) |
static ValidBody |
validate(org.mule.raml.interfaces.model.IAction action,
org.mule.extension.http.api.HttpRequestAttributes attributes,
Object payload,
ValidationConfig config,
String charset,
org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository) |
public static ValidBody validate(org.mule.raml.interfaces.model.IAction action, org.mule.extension.http.api.HttpRequestAttributes attributes, Object payload, ValidationConfig config, String charset) throws BadRequestException, UnsupportedMediaTypeException
public static ValidBody validate(org.mule.raml.interfaces.model.IAction action, org.mule.extension.http.api.HttpRequestAttributes attributes, Object payload, ValidationConfig config, String charset, org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository) throws BadRequestException, UnsupportedMediaTypeException
Copyright © 2019. All rights reserved.