Class AttachmentResponseEnricher

java.lang.Object
org.mule.soap.internal.generator.attachment.AttachmentResponseEnricher
Direct Known Subclasses:
MtomResponseEnricher, SoapAttachmentResponseEnricher

public abstract class AttachmentResponseEnricher extends Object
Abstract implementation for a request enricher that extracts the attachments from a SOAP Response.
Since:
1.0
  • Method Details

    • enrich

      public InputStream enrich(XMLStreamReader xmlStreamReader, String operation, org.apache.cxf.message.Exchange exchange) throws XMLStreamException
      Modifies the SOAP response to avoid attachment content in the response body and make decouple the attachment handling so the user can have a better experience.
      Throws:
      XMLStreamException
    • processAttachmentData

      protected void processAttachmentData(String attachmentName, String attachmentData, org.apache.cxf.message.Exchange exchange)
      Processes the attachments nodes in the response.