@Contract(threading=IMMUTABLE) @Deprecated public class LoggingSessionInputBuffer extends Object implements org.apache.http.io.SessionInputBuffer, org.apache.http.io.EofSensor
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 nullpublic LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
Wire wire)
public boolean isDataAvailable(int timeout)
throws IOException
isDataAvailable in interface org.apache.http.io.SessionInputBufferIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOExceptionpublic int read()
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOExceptionpublic int read(byte[] b)
throws IOException
read in interface org.apache.http.io.SessionInputBufferIOExceptionpublic String readLine() throws IOException
readLine in interface org.apache.http.io.SessionInputBufferIOExceptionpublic 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.EofSensorCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.