Package org.apache.cxf.validation
Class AbstractBeanValidationInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.validation.AbstractValidationInterceptor
-
- org.apache.cxf.validation.AbstractBeanValidationInterceptor
-
- All Implemented Interfaces:
AutoCloseable
,Interceptor<Message>
,PhaseInterceptor<Message>
- Direct Known Subclasses:
BeanValidationInInterceptor
,ClientBeanValidationOutInterceptor
public abstract class AbstractBeanValidationInterceptor extends AbstractValidationInterceptor
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
BUNDLE, LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBeanValidationInterceptor(String phase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Method
getServiceMethod(Message message)
protected Object
getServiceObject(Message message)
protected void
handleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments)
protected List<Object>
unwrapArgs(List<Object> arguments)
-
Methods inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
close, getProvider, 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 Detail
-
AbstractBeanValidationInterceptor
protected AbstractBeanValidationInterceptor(String phase)
-
-
Method Detail
-
getServiceObject
protected Object getServiceObject(Message message)
- Overrides:
getServiceObject
in classAbstractValidationInterceptor
-
getServiceMethod
protected Method getServiceMethod(Message message)
- Overrides:
getServiceMethod
in classAbstractValidationInterceptor
-
handleValidation
protected void handleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments)
- Specified by:
handleValidation
in classAbstractValidationInterceptor
-
-