public abstract class MultipartRelatedEncoder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.mail.internet.MimeMultipart |
multipart |
protected SOAPMessage |
soapMessage |
| Constructor and Description |
|---|
MultipartRelatedEncoder(SOAPMessage soapMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttachmentParts(javax.mail.internet.MimeMultipart multipart) |
abstract void |
encodeMultipartRelatedMessage()
Build the multipart message
|
String |
getContentType()
Returns the new content type of this encoder.
|
void |
writeTo(OutputStream os)
Writes this message to the specified output stream.
|
protected SOAPMessage soapMessage
protected javax.mail.internet.MimeMultipart multipart
public MultipartRelatedEncoder(SOAPMessage soapMessage) throws SOAPException
SOAPExceptionpublic abstract void encodeMultipartRelatedMessage()
throws SOAPException,
javax.mail.MessagingException
SOAPExceptionjavax.mail.MessagingExceptionprotected void addAttachmentParts(javax.mail.internet.MimeMultipart multipart)
throws SOAPException,
javax.mail.MessagingException
SOAPExceptionjavax.mail.MessagingExceptionpublic String getContentType()
public void writeTo(OutputStream os) throws IOException
os - the stream to write this messageIOExceptionCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.