Package org.apache.cxf.validation
Class BeanValidationOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.validation.AbstractValidationInterceptor
org.apache.cxf.validation.BeanValidationOutInterceptor
- All Implemented Interfaces:
AutoCloseable
,Interceptor<Message>
,PhaseInterceptor<Message>
-
Field Summary
Fields inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
BUNDLE, LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BeanValidationProvider
getOutProvider
(Message message) protected void
boolean
void
setEnforceOnlyBeanConstraints
(boolean enforceOnlyBeanConstraints) protected Object
unwrapEntity
(Object entity) Methods inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
close, getProvider, getServiceMethod, getServiceObject, handleMessage, setProvider, setServiceObject
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
BeanValidationOutInterceptor
public BeanValidationOutInterceptor() -
BeanValidationOutInterceptor
-
-
Method Details
-
handleValidation
protected void handleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments) - Specified by:
handleValidation
in classAbstractValidationInterceptor
-
unwrapEntity
-
getOutProvider
-
isEnforceOnlyBeanConstraints
public boolean isEnforceOnlyBeanConstraints() -
setEnforceOnlyBeanConstraints
public void setEnforceOnlyBeanConstraints(boolean enforceOnlyBeanConstraints)
-