|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.attachments.IncomingAttachmentStreams
org.apache.axiom.attachments.MultipartAttachmentStreams
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't have to worry about this since the SOAP part is guaranteed to be the first in the stream. But since SwA has no such guarantee, we must fall back to caching these first parts. Afterwards, we can stream the rest of the attachments that are after the SOAP part of the request message.
Field Summary |
Fields inherited from class org.apache.axiom.attachments.IncomingAttachmentStreams |
_readyToGetNextStream |
Constructor Summary | |
MultipartAttachmentStreams(BoundaryDelimitedStream delimitedStream)
|
Method Summary | |
IncomingAttachmentInputStream |
getNextStream()
Returns the next attachment stream in sequence. |
Methods inherited from class org.apache.axiom.attachments.IncomingAttachmentStreams |
isReadyToGetNextStream, setReadyToGetNextStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultipartAttachmentStreams(BoundaryDelimitedStream delimitedStream) throws OMException
Method Detail |
public IncomingAttachmentInputStream getNextStream() throws OMException
IncomingAttachmentStreams
getNextStream
in class IncomingAttachmentStreams
OMException
org.apache.axis.attachments.IncomingAttachmentStreams#getNextStream()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |