Package org.apache.http.impl.conn
Class LoggingSessionInputBuffer
java.lang.Object
org.apache.http.impl.conn.LoggingSessionInputBuffer
- All Implemented Interfaces:
org.apache.http.io.EofSensor
,org.apache.http.io.SessionInputBuffer
@Contract(threading=IMMUTABLE)
@Deprecated
public class LoggingSessionInputBuffer
extends Object
implements org.apache.http.io.SessionInputBuffer, org.apache.http.io.EofSensor
Deprecated.
(4.3) no longer used.
Logs all data read to the wire LOG.
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingSessionInputBuffer
(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
Modifier and TypeMethodDescriptionorg.apache.http.io.HttpTransportMetrics
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.readLine()
Deprecated.int
readLine
(org.apache.http.util.CharArrayBuffer buffer) Deprecated.
-
Constructor Details
-
LoggingSessionInputBuffer
public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in, Wire wire, String charset) Deprecated.Create an instance that wraps the specified session input buffer.- Parameters:
in
- The session input buffer.wire
- The wire log to use.charset
- protocol charset,ASCII
ifnull
-
LoggingSessionInputBuffer
Deprecated.
-
-
Method Details
-
isDataAvailable
Deprecated.- Specified by:
isDataAvailable
in interfaceorg.apache.http.io.SessionInputBuffer
- Throws:
IOException
-
read
Deprecated.- Specified by:
read
in interfaceorg.apache.http.io.SessionInputBuffer
- Throws:
IOException
-
read
Deprecated.- Specified by:
read
in interfaceorg.apache.http.io.SessionInputBuffer
- Throws:
IOException
-
read
Deprecated.- Specified by:
read
in interfaceorg.apache.http.io.SessionInputBuffer
- Throws:
IOException
-
readLine
Deprecated.- Specified by:
readLine
in interfaceorg.apache.http.io.SessionInputBuffer
- Throws:
IOException
-
readLine
Deprecated.- Specified by:
readLine
in interfaceorg.apache.http.io.SessionInputBuffer
- Throws:
IOException
-
getMetrics
public org.apache.http.io.HttpTransportMetrics getMetrics()Deprecated.- Specified by:
getMetrics
in interfaceorg.apache.http.io.SessionInputBuffer
-
isEof
public boolean isEof()Deprecated.- Specified by:
isEof
in interfaceorg.apache.http.io.EofSensor
-