Class RequestInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.wso2.carbon.inbound.endpoint.ext.wsrm.interceptor.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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleMessage(org.apache.cxf.message.Message message)
    Handles the client request by removing additional interceptors that are present

    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 Details

    • RequestInterceptor

      public RequestInterceptor()
  • Method Details

    • 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