Apache CXF API

org.apache.cxf.jaxrs.validation
Class JAXRSBeanValidationOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.validation.AbstractValidationInterceptor
          extended by org.apache.cxf.validation.BeanValidationOutInterceptor
              extended by 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


Field Summary
 
Fields inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
BUNDLE, LOG
 
Constructor Summary
JAXRSBeanValidationOutInterceptor()
           
JAXRSBeanValidationOutInterceptor(String phase)
           
 
Method Summary
 void filter(javax.ws.rs.container.ContainerRequestContext in, javax.ws.rs.container.ContainerResponseContext out)
           
protected  Object getServiceObject(Message message)
           
protected  Object unwrapEntity(Object entity)
           
 
Methods inherited from class org.apache.cxf.validation.BeanValidationOutInterceptor
getOutProvider, handleValidation, isEnforceOnlyBeanConstraints, setEnforceOnlyBeanConstraints
 
Methods inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
getProvider, getServiceMethod, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXRSBeanValidationOutInterceptor

public JAXRSBeanValidationOutInterceptor()

JAXRSBeanValidationOutInterceptor

public JAXRSBeanValidationOutInterceptor(String phase)
Method Detail

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 API

Apache CXF