Package org.apache.cxf.jaxrs.validation
Class JAXRSBeanValidationInInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
-
- org.apache.cxf.validation.AbstractValidationInterceptor
-
- org.apache.cxf.validation.AbstractBeanValidationInterceptor
-
- org.apache.cxf.validation.BeanValidationInInterceptor
-
- org.apache.cxf.jaxrs.validation.JAXRSBeanValidationInInterceptor
-
- All Implemented Interfaces:
AutoCloseable
,javax.ws.rs.container.ContainerRequestFilter
,org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
@Provider public class JAXRSBeanValidationInInterceptor extends org.apache.cxf.validation.BeanValidationInInterceptor implements javax.ws.rs.container.ContainerRequestFilter
-
-
Constructor Summary
Constructors Constructor Description JAXRSBeanValidationInInterceptor()
JAXRSBeanValidationInInterceptor(String phase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(javax.ws.rs.container.ContainerRequestContext context)
protected Object
getServiceObject(org.apache.cxf.message.Message message)
protected void
handleValidation(org.apache.cxf.message.Message message, Object resourceInstance, Method method, List<Object> arguments)
-
Methods inherited from class org.apache.cxf.validation.AbstractBeanValidationInterceptor
getServiceMethod, unwrapArgs
-
Methods inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
close, getProvider, handleMessage, setProvider, setServiceObject
-
-
-
-
Constructor Detail
-
JAXRSBeanValidationInInterceptor
public JAXRSBeanValidationInInterceptor()
-
JAXRSBeanValidationInInterceptor
public JAXRSBeanValidationInInterceptor(String phase)
-
-
Method Detail
-
getServiceObject
protected Object getServiceObject(org.apache.cxf.message.Message message)
- Overrides:
getServiceObject
in classorg.apache.cxf.validation.AbstractBeanValidationInterceptor
-
handleValidation
protected void handleValidation(org.apache.cxf.message.Message message, Object resourceInstance, Method method, List<Object> arguments)
- Overrides:
handleValidation
in classorg.apache.cxf.validation.AbstractBeanValidationInterceptor
-
filter
public void filter(javax.ws.rs.container.ContainerRequestContext context) throws IOException
- Specified by:
filter
in interfacejavax.ws.rs.container.ContainerRequestFilter
- Throws:
IOException
-
-