Class AttachmentResponseEnricher
java.lang.Object
org.mule.soap.internal.generator.attachment.AttachmentResponseEnricher
- Direct Known Subclasses:
MtomResponseEnricher,SoapAttachmentResponseEnricher
Abstract implementation for a request enricher that extracts the attachments from a SOAP Response.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionenrich(XMLStreamReader xmlStreamReader, String operation, org.apache.cxf.message.Exchange exchange) 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.protected voidprocessAttachmentData(String attachmentName, String attachmentData, org.apache.cxf.message.Exchange exchange) Processes the attachments nodes in the response.
-
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.
-