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 RequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleMessage(org.apache.cxf.message.Message message)
Handles the client request by removing additional interceptors that are present
-
-
-
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
-
-