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, writeTo
public 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 partSOAPException
public void encodeMultipartRelatedMessage() throws SOAPException, MessagingException
MultipartRelatedEncoder
encodeMultipartRelatedMessage
in class MultipartRelatedEncoder
SOAPException
MessagingException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.