public class ValidatorInterceptor extends AbstractInterceptor implements org.springframework.context.ApplicationContextAware
WSDLValidator, XMLSchemaValidator,
JSONValidator and SchematronValidator depending on the
attributes.| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidatorInterceptor.FailureHandler |
Interceptor.Flowid, name, router| Constructor and Description |
|---|
ValidatorInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFailureHandler() |
String |
getJsonSchema() |
String |
getLongDescription() |
String |
getSchema() |
String |
getSchematron() |
String |
getShortDescription() |
String |
getWsdl() |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
void |
init()
Called after parsing is complete and this has been added to the object tree (whose root is Router).
|
void |
init(Router router) |
boolean |
isSkipFaults() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setFailureHandler(String failureHandler) |
void |
setJsonSchema(String jsonSchema) |
void |
setResourceResolver(ResolverMap resourceResolver) |
void |
setSchema(String schema) |
void |
setSchematron(String schematron) |
void |
setSkipFaults(boolean skipFaults) |
void |
setWsdl(String wsdl) |
getDisplayName, getFlow, getHelpId, getId, getRouter, getRule, handleAbort, setDisplayName, setFlow, setIdpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void init()
throws Exception
AbstractInterceptorinit in class AbstractInterceptorExceptionpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionpublic void setWsdl(String wsdl)
public String getWsdl()
public String getSchema()
public void setSchema(String schema)
public String getFailureHandler()
public void setFailureHandler(String failureHandler)
public String getJsonSchema()
public void setJsonSchema(String jsonSchema)
public String getSchematron()
public void setSchematron(String schematron)
public boolean isSkipFaults()
public void setSkipFaults(boolean skipFaults)
public void init(Router router) throws Exception
init in interface Interceptorinit in class AbstractInterceptorExceptionpublic void setResourceResolver(ResolverMap resourceResolver)
public String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorCopyright © 2022. All Rights Reserved.