Class MimePullMultipart
- java.lang.Object
-
- com.sun.xml.messaging.saaj.packaging.mime.internet.MimeMultipart
-
- com.sun.xml.messaging.saaj.packaging.mime.internet.MimePullMultipart
-
public class MimePullMultipart extends MimeMultipart
- Author:
- Kumar
-
-
Field Summary
-
Fields inherited from class com.sun.xml.messaging.saaj.packaging.mime.internet.MimeMultipart
contentType, ds, ignoreMissingEndBoundary, parent, parsed, parts
-
-
Constructor Summary
Constructors Constructor Description MimePullMultipart(jakarta.activation.DataSource ds, ContentType ct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidparse()Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts.voidparseAll()MIMEPartreadAndReturnSOAPPart()protected voidreadSOAPPart()-
Methods inherited from class com.sun.xml.messaging.saaj.packaging.mime.internet.MimeMultipart
addBodyPart, addBodyPart, createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getContentType, getCount, removeBodyPart, removeBodyPart, setMultipartDataSource, setSubType, updateHeaders, writeTo
-
-
-
-
Constructor Detail
-
MimePullMultipart
public MimePullMultipart(jakarta.activation.DataSource ds, ContentType ct) throws MessagingException- Throws:
MessagingException
-
-
Method Detail
-
readAndReturnSOAPPart
public MIMEPart readAndReturnSOAPPart() throws MessagingException
- Throws:
MessagingException
-
readSOAPPart
protected void readSOAPPart() throws MessagingException- Throws:
MessagingException
-
parseAll
public void parseAll() throws MessagingException- Throws:
MessagingException
-
parse
protected void parse() throws MessagingExceptionDescription copied from class:MimeMultipartParse the InputStream from our DataSource, constructing the appropriate MimeBodyParts. Theparsedflag is set to true, and if true on entry nothing is done. This method is called by all other methods that need data for the body parts, to make sure the data has been parsed.- Overrides:
parsein classMimeMultipart- Throws:
MessagingException- in case of error.
-
-