org.apache.cxf.jaxrs.validation
Class JAXRSBeanValidationOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.validation.AbstractValidationInterceptor
org.apache.cxf.validation.BeanValidationOutInterceptor
org.apache.cxf.jaxrs.validation.JAXRSBeanValidationOutInterceptor
- All Implemented Interfaces:
- javax.ws.rs.container.ContainerResponseFilter, Interceptor<Message>, PhaseInterceptor<Message>
@Provider
public class JAXRSBeanValidationOutInterceptor
- extends BeanValidationOutInterceptor
- implements javax.ws.rs.container.ContainerResponseFilter
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXRSBeanValidationOutInterceptor
public JAXRSBeanValidationOutInterceptor()
JAXRSBeanValidationOutInterceptor
public JAXRSBeanValidationOutInterceptor(String phase)
getServiceObject
protected Object getServiceObject(Message message)
- Overrides:
getServiceObject
in class AbstractValidationInterceptor
unwrapEntity
protected Object unwrapEntity(Object entity)
- Overrides:
unwrapEntity
in class BeanValidationOutInterceptor
filter
public void filter(javax.ws.rs.container.ContainerRequestContext in,
javax.ws.rs.container.ContainerResponseContext out)
throws IOException
- Specified by:
filter
in interface javax.ws.rs.container.ContainerResponseFilter
- Throws:
IOException
Apache CXF