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 in OutStreamSubstituteInterceptor and stores it in the message as String content type.
Author:
Dmytro Rud
  • Field Details

    • PAYLOAD_COLLECTING_DEACTIVATION_ENABLED

      public static final String PAYLOAD_COLLECTING_DEACTIVATION_ENABLED
      When the CXF message contains Boolean.FALSE in the property with this name, collecting message payload will not be deactivated after the SOAP part has been written.
  • Constructor Details

    • OutPayloadExtractorInterceptor

      public OutPayloadExtractorInterceptor()
  • Method Details

    • handleMessage

      public void handleMessage(Message message)