public final class SoapAttachmentResponseEnricher extends AttachmentResponseEnricher
AttachmentResponseEnricher implementation for SOAP with attachments.| Constructor and Description |
|---|
SoapAttachmentResponseEnricher(List<org.mule.wsdl.parser.model.operation.OperationModel> operations) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processResponseAttachments(Document response,
Collection<org.mule.metadata.api.model.ObjectFieldType> attachments,
org.apache.cxf.message.Exchange exchange)
Processes the attachments nodes in the response.
|
enrichpublic SoapAttachmentResponseEnricher(List<org.mule.wsdl.parser.model.operation.OperationModel> operations)
protected void processResponseAttachments(Document response, Collection<org.mule.metadata.api.model.ObjectFieldType> attachments, org.apache.cxf.message.Exchange exchange)
Extracts the base64 encoded content from the attachment nodes, decodes them and then remove all the nodes to clean the response body.
processResponseAttachments in class AttachmentResponseEnricherCopyright © 2019. All rights reserved.