HttpConnection.readInputStream(InputStream stream) Method

Definition

Reads the input stream until the stream is empty.

protected static byte[] readInputStream(InputStream stream)

Parameters

stream
java.io.InputStream

The input stream.

Returns

byte[]

The content of the input stream.

Exceptions

java.io.IOException

This exception thrown if the input stream could not be read from.

Applies to