|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.actions.soap.attachment.MultipartRelatedDecoder
public class MultipartRelatedDecoder
Abstract MutilPartRelatedDecoder decodes a mime multipart/related stream.
Constructor Summary | |
---|---|
MultipartRelatedDecoder(javax.mail.internet.ContentType contentType)
Constructs a MultipartRelatedDecoder . |
Method Summary | |
---|---|
void |
decodeMultipartRelatedMessage(java.io.InputStream stream)
|
java.util.Collection<javax.xml.soap.AttachmentPart> |
getRelatedParts()
Returns a collection of AttachmentPart objects that represent the attachments on this message. |
javax.xml.soap.AttachmentPart |
getRootPart()
Returns an AttachmentPart representing the root part of this multipart/related message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipartRelatedDecoder(javax.mail.internet.ContentType contentType) throws java.io.IOException, javax.mail.MessagingException
MultipartRelatedDecoder
. This will block until the message
has been decoded.
contentType
- the mime Content-Type header provided by the transportstream
- The stream to pull the multipart message from
java.io.IOException
javax.mail.MessagingException
Method Detail |
---|
public void decodeMultipartRelatedMessage(java.io.InputStream stream) throws java.io.IOException, javax.mail.MessagingException
java.io.IOException
javax.mail.MessagingException
public javax.xml.soap.AttachmentPart getRootPart()
AttachmentPart
representing the root part of this multipart/related message.
public java.util.Collection<javax.xml.soap.AttachmentPart> getRelatedParts()
AttachmentPart
objects that represent the attachments on this message.
If there are no attachments, an empty collection is returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |