Class OutPayloadExtractorInterceptor

  • 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 OutPayloadExtractorInterceptor
    extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.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 Detail

      • 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 Detail

      • OutPayloadExtractorInterceptor

        public OutPayloadExtractorInterceptor()
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.message.Message message)