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
SOAPException
public abstract void encodeMultipartRelatedMessage() throws SOAPException, javax.mail.MessagingException
SOAPException
javax.mail.MessagingException
protected void addAttachmentParts(javax.mail.internet.MimeMultipart multipart) throws SOAPException, javax.mail.MessagingException
SOAPException
javax.mail.MessagingException
public String getContentType()
public void writeTo(OutputStream os) throws IOException
os
- the stream to write this messageIOException
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.