Class RequestInterceptor

  • All Implemented Interfaces:
    org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>

    public class RequestInterceptor
    extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
    This interceptor intercepts all incoming message and removes Interceptors from the interceptor chain that will not be needed. It then gets a copy of the message to a byte[] and attaches it to the CXF Message
    • Constructor Detail

      • RequestInterceptor

        public RequestInterceptor()
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.message.Message message)
                           throws org.apache.cxf.interceptor.Fault
        Handles the client request by removing additional interceptors that are present
        Parameters:
        message - Request that is received
        Throws:
        org.apache.cxf.interceptor.Fault