Package org.apache.http.impl.conn
Class LoggingSessionOutputBuffer
java.lang.Object
org.apache.http.impl.conn.LoggingSessionOutputBuffer
- All Implemented Interfaces:
org.apache.http.io.SessionOutputBuffer
@Contract(threading=IMMUTABLE)
@Deprecated
public class LoggingSessionOutputBuffer
extends Object
implements org.apache.http.io.SessionOutputBuffer
Deprecated.
(4.3) no longer used.
Logs all data written to the wire LOG.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out, Wire wire) Deprecated.LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out, Wire wire, String charset) Deprecated.Create an instance that wraps the specified session output buffer. -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Deprecated.org.apache.http.io.HttpTransportMetricsDeprecated.voidwrite(byte[] b) Deprecated.voidwrite(byte[] b, int off, int len) Deprecated.voidwrite(int b) Deprecated.voidDeprecated.voidwriteLine(org.apache.http.util.CharArrayBuffer buffer) Deprecated.
-
Field Details
-
out
private final org.apache.http.io.SessionOutputBuffer outDeprecated.Original data transmitter. -
wire
Deprecated.The wire log to use. -
charset
Deprecated.
-
-
Constructor Details
-
LoggingSessionOutputBuffer
public LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out, Wire wire, String charset) Deprecated.Create an instance that wraps the specified session output buffer.- Parameters:
out- The session output buffer.wire- The Wire log to use.charset- protocol charset,ASCIIifnull
-
LoggingSessionOutputBuffer
Deprecated.
-
-
Method Details
-
write
Deprecated.- Specified by:
writein interfaceorg.apache.http.io.SessionOutputBuffer- Throws:
IOException
-
write
Deprecated.- Specified by:
writein interfaceorg.apache.http.io.SessionOutputBuffer- Throws:
IOException
-
write
Deprecated.- Specified by:
writein interfaceorg.apache.http.io.SessionOutputBuffer- Throws:
IOException
-
flush
Deprecated.- Specified by:
flushin interfaceorg.apache.http.io.SessionOutputBuffer- Throws:
IOException
-
writeLine
Deprecated.- Specified by:
writeLinein interfaceorg.apache.http.io.SessionOutputBuffer- Throws:
IOException
-
writeLine
Deprecated.- Specified by:
writeLinein interfaceorg.apache.http.io.SessionOutputBuffer- Throws:
IOException
-
getMetrics
public org.apache.http.io.HttpTransportMetrics getMetrics()Deprecated.- Specified by:
getMetricsin interfaceorg.apache.http.io.SessionOutputBuffer
-