com.ibm.wsspi.http
Class HttpInputStream
- java.lang.Object
java.io.InputStream
com.ibm.wsspi.http.HttpInputStream
All implemented interfaces:
java.io.Closeable
- public class HttpInputStream
- extends java.io.InputStream
Constructor Summary
Constructor and Description |
---|
HttpInputStream(com.ibm.wsspi.http.channel.inbound.HttpInboundServiceContext context)
Constructor.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
available()
|
|
close()
|
|
isClosed()
Query whether this stream has been closed already or not.
|
|
mark(int readlimit)
|
|
markSupported()
|
|
read()
|
|
read(byte[] output)
|
|
read(byte[] output,int offset,int length)
|
|
reset()
|
|
skip(long target)
|
|
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
HttpInputStream
- public HttpInputStream(com.ibm.wsspi.http.channel.inbound.HttpInboundServiceContext context)
Constructor.
Parameters:
context
- Method Detail
toString
- public java.lang.String toString( )
Overrides:
toString
in class java.lang.Object
available
- public int available()
- throws java.io.IOException
Overrides:
available
in class java.io.InputStream
Throws:
java.io.IOException
close
- public void close()
- throws java.io.IOException
Specified by:
close
in interface java.io.Closeable
Overrides:
close
in class java.io.InputStream
Throws:
java.io.IOException
isClosed
- public final boolean isClosed()
Query whether this stream has been closed already or not.
Returns:
boolean
mark
- public void mark(int readlimit)
Overrides:
mark
in class java.io.InputStream
markSupported
- public boolean markSupported()
Overrides:
markSupported
in class java.io.InputStream
read
- public int read()
- throws java.io.IOException
Specified by:
read
in class java.io.InputStream
Throws:
java.io.IOException
read
- public int read(byte[] output,
- int offset,
- int length)
- throws java.io.IOException
Overrides:
read
in class java.io.InputStream
Throws:
java.io.IOException
read
- public int read(byte[] output)
- throws java.io.IOException
Overrides:
read
in class java.io.InputStream
Throws:
java.io.IOException
reset
- public void reset()
- throws java.io.IOException
Overrides:
reset
in class java.io.InputStream
Throws:
java.io.IOException
skip
- public long skip(long target)
- throws java.io.IOException
Overrides:
skip
in class java.io.InputStream
Throws:
java.io.IOException