public class ResponseInputStream
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.io.BufferedInputStream |
bin |
private static int |
incrementSlop |
private static int |
maxIncrement |
private static int |
minIncrement |
Constructor and Description |
---|
ResponseInputStream(java.io.InputStream in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ByteArray |
readResponse()
Read a Response from the InputStream.
|
ByteArray |
readResponse(ByteArray ba)
Read a Response from the InputStream.
|
private static final int minIncrement
private static final int maxIncrement
private static final int incrementSlop
private java.io.BufferedInputStream bin
public ResponseInputStream(java.io.InputStream in)
public ByteArray readResponse() throws java.io.IOException
java.io.IOException