Class OutPayloadExtractorInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.openehealth.ipf.commons.ihe.ws.cxf.payload.OutPayloadExtractorInterceptor
-
- All Implemented Interfaces:
Interceptor<Message>
,PhaseInterceptor<Message>
public class OutPayloadExtractorInterceptor extends AbstractPhaseInterceptor<Message>
CXF interceptor that reads outgoing payload collected by the output stream proxy installed inOutStreamSubstituteInterceptor
and stores it in the message as String content type.- Author:
- Dmytro Rud
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAYLOAD_COLLECTING_DEACTIVATION_ENABLED
When the CXF message containsBoolean.FALSE
in the property with this name, collecting message payload will not be deactivated after the SOAP part has been written.
-
Constructor Summary
Constructors Constructor Description OutPayloadExtractorInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleMessage(Message message)
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Field Detail
-
PAYLOAD_COLLECTING_DEACTIVATION_ENABLED
public static final String PAYLOAD_COLLECTING_DEACTIVATION_ENABLED
When the CXF message containsBoolean.FALSE
in the property with this name, collecting message payload will not be deactivated after the SOAP part has been written.
-
-
Method Detail
-
handleMessage
public void handleMessage(Message message)
-
-