Class 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
    • Field Summary

      • Fields inherited from class org.apache.cxf.validation.AbstractValidationInterceptor

        BUNDLE, LOG
    • 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
      • 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

      • JAXRSBeanValidationInInterceptor

        public JAXRSBeanValidationInInterceptor()
      • JAXRSBeanValidationInInterceptor

        public JAXRSBeanValidationInInterceptor​(String phase)
    • Method Detail

      • getServiceObject

        protected Object getServiceObject​(org.apache.cxf.message.Message message)
        Overrides:
        getServiceObject in class org.apache.cxf.validation.AbstractBeanValidationInterceptor
      • handleValidation

        protected void handleValidation​(org.apache.cxf.message.Message message,
                                        Object resourceInstance,
                                        Method method,
                                        List<Object> arguments)
        Overrides:
        handleValidation in class org.apache.cxf.validation.AbstractBeanValidationInterceptor
      • filter

        public void filter​(javax.ws.rs.container.ContainerRequestContext context)
                    throws IOException
        Specified by:
        filter in interface javax.ws.rs.container.ContainerRequestFilter
        Throws:
        IOException