Package org.apache.cxf.validation
Class AbstractValidationInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.validation.AbstractValidationInterceptor
- All Implemented Interfaces:
AutoCloseable
,Interceptor<Message>
,PhaseInterceptor<Message>
- Direct Known Subclasses:
AbstractBeanValidationInterceptor
,BeanValidationOutInterceptor
public abstract class AbstractValidationInterceptor
extends AbstractPhaseInterceptor<Message>
implements AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final ResourceBundle
protected static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected BeanValidationProvider
getProvider
(Message message) protected Method
getServiceMethod
(Message message) protected Object
getServiceObject
(Message message) void
handleMessage
(Message message) Intercepts a message.protected abstract void
void
setProvider
(BeanValidationProvider provider) void
setServiceObject
(Object object) Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
LOG
-
BUNDLE
-
-
Constructor Details
-
AbstractValidationInterceptor
-
-
Method Details
-
setServiceObject
-
setProvider
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
handleMessage
Description copied from interface:Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Specified by:
handleMessage
in interfaceInterceptor<Message>
-
getServiceObject
-
getServiceMethod
-
handleValidation
-
getProvider
-