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 -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.message.Message message) Handles the client request by removing additional interceptors that are presentMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
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
-