public abstract class MultipartRelatedEncoder extends Object
Modifier and Type | Field and Description |
---|---|
protected MimeMultipart |
multipart |
protected SOAPMessage |
soapMessage |
Constructor and Description |
---|
MultipartRelatedEncoder(SOAPMessage soapMessage) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttachmentParts(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 MimeMultipart multipart
public MultipartRelatedEncoder(SOAPMessage soapMessage) throws SOAPException
SOAPException
public abstract void encodeMultipartRelatedMessage() throws SOAPException, MessagingException
SOAPException
MessagingException
protected void addAttachmentParts(MimeMultipart multipart) throws SOAPException, MessagingException
SOAPException
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.