public class MultipartRelatedSwAEncoder extends MultipartRelatedEncoder
multipart, soapMessage| Constructor and Description |
|---|
MultipartRelatedSwAEncoder(SOAPMessage soapMessage)
Construct a MultipartRelatedEncoder from the specified
SOAPMessage. |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeMultipartRelatedMessage()
Build the multipart message
|
addAttachmentParts, getContentType, writeTopublic MultipartRelatedSwAEncoder(SOAPMessage soapMessage) throws SOAPException
SOAPMessage.
There is minimal overhead on construction because all source streams are read
only on a call to MultipartRelatedEncoder.writeTo(OutputStream).soapMessage - the SOAP message to be sent as a root partSOAPExceptionpublic void encodeMultipartRelatedMessage()
throws SOAPException,
javax.mail.MessagingException
MultipartRelatedEncoderencodeMultipartRelatedMessage in class MultipartRelatedEncoderSOAPExceptionjavax.mail.MessagingExceptionCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.