|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.jboss.axis.attachments.MultiPartInputStream (src)
org.jboss.axis.attachments.MultiPartDimeInputStream
This simulates the multipart stream
Field Summary | |
protected byte[] |
boundary
|
protected java.io.ByteArrayInputStream |
cachedSOAPEnvelope
|
protected boolean |
closed
|
protected java.lang.String |
contentId
|
protected DimeDelimitedInputStream (src) |
dimeDelimitedStream
|
protected boolean |
eos
|
protected java.util.LinkedList |
orderedParts
|
protected java.util.HashMap |
parts
|
protected static java.lang.String[] |
READ_ALL
|
protected int |
rootPartLength
|
protected java.io.InputStream |
soapStream
|
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
MultiPartDimeInputStream(java.io.InputStream is)
Multipart stream. |
Method Summary | |
protected void |
addPart(java.lang.String contentId,
java.lang.String locationId,
AttachmentPartImpl (src) ap)
|
void |
close()
|
Part (src) |
getAttachmentByReference(java.lang.String[] id)
|
java.util.Collection |
getAttachments()
|
java.lang.String |
getContentId()
Return the content id of the stream |
java.lang.String |
getContentLocation()
Return the content location. |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
Read the root stream. |
protected void |
readAll()
|
protected Part (src) |
readTillFound(java.lang.String[] id)
This will read streams in till the one that is needed is found. |
Methods inherited from class java.io.FilterInputStream |
available, mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashMap parts
protected java.util.LinkedList orderedParts
protected int rootPartLength
protected boolean closed
protected boolean eos
protected DimeDelimitedInputStream (src) dimeDelimitedStream
protected java.io.InputStream soapStream
protected byte[] boundary
protected java.io.ByteArrayInputStream cachedSOAPEnvelope
protected java.lang.String contentId
protected static final java.lang.String[] READ_ALL
Constructor Detail |
public MultiPartDimeInputStream(java.io.InputStream is) throws java.io.IOException
is
- the true input stream from where the source.Method Detail |
public Part (src) getAttachmentByReference(java.lang.String[] id) throws AxisFault (src)
getAttachmentByReference
in class MultiPartInputStream (src)
AxisFault (src)
protected void addPart(java.lang.String contentId, java.lang.String locationId, AttachmentPartImpl (src) ap)
protected void readAll() throws AxisFault (src)
AxisFault (src)
public java.util.Collection getAttachments() throws AxisFault (src)
getAttachments
in class MultiPartInputStream (src)
AxisFault (src)
protected Part (src) readTillFound(java.lang.String[] id) throws java.io.IOException
id
- is the stream being sought.
java.io.IOException
public java.lang.String getContentLocation()
getContentLocation
in class MultiPartInputStream (src)
public java.lang.String getContentId()
getContentId
in class MultiPartInputStream (src)
public int read(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public int read(byte[] b) throws java.io.IOException
java.io.IOException
public int read() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |