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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int read(byte[] inBuf, int off, int len)
      Read bytes into a byte array.
    • 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:

        • The number of bytes indicated by len is read,
        • No more bytes are available to be ready
        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 Business Process ManagerTM
Release 8