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 Details

  • Constructor Details

    • AbstractValidationInterceptor

      public AbstractValidationInterceptor(String phase)
  • Method Details

    • setServiceObject

      public void setServiceObject(Object object)
    • setProvider

      public void setProvider(BeanValidationProvider provider)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • handleMessage

      public void handleMessage(Message message)
      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 interface Interceptor<Message>
    • getServiceObject

      protected Object getServiceObject(Message message)
    • getServiceMethod

      protected Method getServiceMethod(Message message)
    • handleValidation

      protected abstract void handleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments)
    • getProvider

      protected BeanValidationProvider getProvider(Message message)