public class SoapMultipartPayload extends Object implements org.mule.runtime.api.message.MultiPartPayload
DefaultMultiPartPayload implementation that enables the separated retrieval of the body and the attachments.| Constructor and Description |
|---|
SoapMultipartPayload(List<org.mule.runtime.api.message.Message> parts) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,InputStream> |
getAttachments()
Returns the attachments parts content of the
SoapMultipartPayload. |
InputStream |
getBody()
Returns the body part content of the
SoapMultipartPayload. |
Map<String,org.mule.runtime.api.message.Message> |
getNamedParts() |
org.mule.runtime.api.message.Message |
getPart(String partName) |
List<String> |
getPartNames() |
List<org.mule.runtime.api.message.Message> |
getParts() |
public SoapMultipartPayload(List<org.mule.runtime.api.message.Message> parts)
public InputStream getBody()
SoapMultipartPayload.public Map<String,InputStream> getAttachments()
SoapMultipartPayload.Map with the attachments.public List<org.mule.runtime.api.message.Message> getParts()
getParts in interface org.mule.runtime.api.message.MultiPartPayloadpublic List<String> getPartNames()
getPartNames in interface org.mule.runtime.api.message.MultiPartPayloadpublic org.mule.runtime.api.message.Message getPart(String partName)
getPart in interface org.mule.runtime.api.message.MultiPartPayloadCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.