|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.conn.LoggingSessionInputBuffer
@Contract(threading=IMMUTABLE) @Deprecated public class LoggingSessionInputBuffer
Logs all data read to the wire LOG.
| Constructor Summary | |
|---|---|
LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
Wire wire)
Deprecated. |
|
LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
Wire wire,
String charset)
Deprecated. Create an instance that wraps the specified session input buffer. |
|
| Method Summary | |
|---|---|
org.apache.http.io.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(org.apache.http.util.CharArrayBuffer buffer)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
Wire wire,
String charset)
in - The session input buffer.wire - The wire log to use.charset - protocol charset, ASCII if null
public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
Wire wire)
| Method Detail |
|---|
public boolean isDataAvailable(int timeout)
throws IOException
isDataAvailable in interface org.apache.http.io.SessionInputBufferIOException
public int read(byte[] b,
int off,
int len)
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOException
public int read()
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOException
public int read(byte[] b)
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOException
public String readLine()
throws IOException
readLine in interface org.apache.http.io.SessionInputBufferIOException
public int readLine(org.apache.http.util.CharArrayBuffer buffer)
throws IOException
readLine in interface org.apache.http.io.SessionInputBufferIOExceptionpublic org.apache.http.io.HttpTransportMetrics getMetrics()
getMetrics in interface org.apache.http.io.SessionInputBufferpublic boolean isEof()
isEof in interface org.apache.http.io.EofSensor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||