com.ibm.websphere.http.data.streams

Interface HTTPOutputStream


  1. public interface HTTPOutputStream
An interface for the HTTP Output Stream used in the output communication between HTTP protocol and data binding.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. void
write(byte[] outBuf)
Write an array of bytes to the stream.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

write

  1. void write(byte[] outBuf)
  2. throws java.io.IOException
Write an array of bytes to the stream. Bytes may be buffered for optimization.

This method stores bytes from the array into an internal buffer for optimization. This buffer is then written to the underlying stream when the internal buffer is full.

Parameters:
outBuf - An array of bytes to be written
Throws:
java.io.IOException - Thrown if an I/O problem occurs