IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.http.data.streams
Interface HTTPInputStream


public interface HTTPInputStream

An interface for the HTTP Input Stream used in the input communication between HTTP protocol and data binding.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 int read(byte[] inBuf, int off, int len)
          Read bytes into a byte array.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

read

int read(byte[] inBuf,
         int off,
         int len)
         throws java.io.IOException
Read bytes into a byte array.

This method reads bytes into the array until one of the following conditions is met:

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

IBM WebSphere Application ServerTM
Release 8