package org.apache.axis.attachments;
import java.io.IOException;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.StringTokenizer;
import javax.mail.Header;
import javax.mail.MessagingException;
import javax.mail.internet.InternetHeaders;
import javax.mail.internet.MimeUtility;
import javax.xml.soap.SOAPException;
import org.apache.axis.AxisFault;
import org.apache.axis.transport.http.HTTPConstants;
import org.apache.axis.utils.Messages;
/**
* The MultipartAttachmentStreams class is used to create
* IncomingAttachmentInputStream objects when the HTTP stream shows a marked
* separation between the SOAP and each attachment parts. Unlike the DIME
* version, this class will use the BoundaryDelimitedStream to parse data in the
* SwA format. Another difference between the two is that the
* MultipartAttachmentStreams class must also provide a way to hold attachment
* parts parsed prior to where the SOAP part appears in the HTTP stream (i.e.
* the root part of the multipart-related message). Our DIME counterpart didn |