Class OutputMtomSoapAttachmentsInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.mule.soap.internal.interceptor.OutputMtomSoapAttachmentsInterceptor
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 OutputMtomSoapAttachmentsInterceptor extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
CXF out interceptor that collects the received Mtom SOAP attachments in the response, transforms it to message parts and stores them in the response message Exchange so then can be returned by the AbstractSoapCxfClient.consume(SoapRequest, TransportDispatcher) as a SoapAttachment, if no attachments are returned an empty map is set.
Since:
1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleMessage(org.apache.cxf.message.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OutputMtomSoapAttachmentsInterceptor

      public OutputMtomSoapAttachmentsInterceptor()
  • Method Details

    • handleMessage

      public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
      Throws:
      org.apache.cxf.interceptor.Fault