com.ibm.websphere.http.data.streams
Interface HTTPInputStream
- public interface HTTPInputStream
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
read(byte[] inBuf,int off,int len)
Read bytes into a byte array.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
read
- int read(byte[] inBuf,
- int off,
- int len)
- throws java.io.IOException
Parameters:
inBuf
- byte array input buffer off
- offset to begin storing bytes in inBuf len
- maximum number of bytes to read Returns:
The number of bytes actually read, or -1 if the end of the stream is reached
Throws:
java.io.IOException
- Thrown if an I/O problem occurs
This method reads bytes into the array until one of the following conditions is met: