org.apache.axis.attachments
public final class IncomingAttachmentStreams.IncomingAttachmentInputStream extends InputStream
Constructor Summary | |
---|---|
IncomingAttachmentInputStream(InputStream in) |
Method Summary | |
---|---|
void | addHeader(String name, String value)
Add a header.
|
String | getContentId() |
String | getContentLocation() |
String | getContentType() |
String | getHeader(String name)
Get a header value.
|
Map | getHeaders() |
void | mark(int readLimit) |
boolean | markSupported()
Don't want to support mark and reset since this may get us into
concurrency problem when different pieces of software may have a
handle to the underlying InputStream. |
int | read() |
int | read(byte[] b) |
int | read(byte[] b, int off, int len) |
void | reset() |
Parameters: in
Parameters: name value
Returns: The header with HTTPConstants.HEADER_CONTENT_ID as the key.
Returns: The header with HTTPConstants.HEADER_CONTENT_LOCATION as the key.
Returns: The header with HTTPConstants.HEADER_CONTENT_TYPE as the key.
Parameters: name
Returns: The header found or null if not found.
Returns: MIME headers for this attachment. May be null if no headers were set.