public class AS2SessionInputBuffer extends Object implements org.apache.http.io.SessionInputBuffer, org.apache.http.io.BufferInfo
| Constructor and Description |
|---|
AS2SessionInputBuffer(org.apache.http.impl.io.HttpTransportMetricsImpl metrics,
int buffersize) |
AS2SessionInputBuffer(org.apache.http.impl.io.HttpTransportMetricsImpl metrics,
int buffersize,
int minChunkLimit,
org.apache.http.config.MessageConstraints constraints) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
bind(InputStream instream) |
int |
capacity() |
int |
fillBuffer() |
CharsetDecoder |
getCharsetDecoder() |
org.apache.http.io.HttpTransportMetrics |
getMetrics() |
boolean |
hasBufferedData() |
boolean |
isBound() |
boolean |
isDataAvailable(int timeout) |
boolean |
isLastLineReadTerminatedByLineFeed() |
int |
length() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
String |
readLine() |
int |
readLine(org.apache.http.util.CharArrayBuffer charbuffer) |
void |
setCharsetDecoder(CharsetDecoder chardecoder) |
public AS2SessionInputBuffer(org.apache.http.impl.io.HttpTransportMetricsImpl metrics,
int buffersize,
int minChunkLimit,
org.apache.http.config.MessageConstraints constraints)
public AS2SessionInputBuffer(org.apache.http.impl.io.HttpTransportMetricsImpl metrics,
int buffersize)
public CharsetDecoder getCharsetDecoder()
public void setCharsetDecoder(CharsetDecoder chardecoder)
public void bind(InputStream instream)
public boolean isBound()
public int length()
length in interface org.apache.http.io.BufferInfopublic int capacity()
capacity in interface org.apache.http.io.BufferInfopublic int available()
available in interface org.apache.http.io.BufferInfopublic int fillBuffer()
throws IOException
IOExceptionpublic boolean hasBufferedData()
public int read(byte[] b,
int off,
int len)
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOExceptionpublic int read(byte[] b)
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOExceptionpublic int read()
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOExceptionpublic int readLine(org.apache.http.util.CharArrayBuffer charbuffer)
throws IOException
readLine in interface org.apache.http.io.SessionInputBufferIOExceptionpublic String readLine() throws IOException
readLine in interface org.apache.http.io.SessionInputBufferIOExceptionpublic boolean isLastLineReadTerminatedByLineFeed()
public boolean isDataAvailable(int timeout)
throws IOException
isDataAvailable in interface org.apache.http.io.SessionInputBufferIOExceptionpublic org.apache.http.io.HttpTransportMetrics getMetrics()
getMetrics in interface org.apache.http.io.SessionInputBufferApache Camel