@Immutable @Deprecated public class LoggingSessionInputBuffer extends Object implements SessionInputBuffer, EofSensor
| Constructor and Description |
|---|
LoggingSessionInputBuffer(SessionInputBuffer in,
Wire wire)
Deprecated.
|
LoggingSessionInputBuffer(SessionInputBuffer in,
Wire wire,
String charset)
Deprecated.
Create an instance that wraps the specified session input buffer.
|
| Modifier and Type | Method and Description |
|---|---|
HttpTransportMetrics |
getMetrics()
Deprecated.
|
boolean |
isDataAvailable(int timeout)
Deprecated.
|
boolean |
isEof()
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(byte[] b)
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
String |
readLine()
Deprecated.
|
int |
readLine(CharArrayBuffer buffer)
Deprecated.
|
public LoggingSessionInputBuffer(SessionInputBuffer in, Wire wire, String charset)
in - The session input buffer.wire - The wire log to use.charset - protocol charset, ASCII if nullpublic LoggingSessionInputBuffer(SessionInputBuffer in, Wire wire)
public boolean isDataAvailable(int timeout)
throws IOException
isDataAvailable in interface SessionInputBufferIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in interface SessionInputBufferIOExceptionpublic int read()
throws IOException
read in interface SessionInputBufferIOExceptionpublic int read(byte[] b)
throws IOException
read in interface SessionInputBufferIOExceptionpublic String readLine() throws IOException
readLine in interface SessionInputBufferIOExceptionpublic int readLine(CharArrayBuffer buffer) throws IOException
readLine in interface SessionInputBufferIOExceptionpublic HttpTransportMetrics getMetrics()
getMetrics in interface SessionInputBufferCopyright © 1999–2013 The Apache Software Foundation. All rights reserved.