@Contract(threading=IMMUTABLE) @Deprecated public class LoggingSessionOutputBuffer extends Object implements org.apache.http.io.SessionOutputBuffer
| Constructor and Description |
|---|
LoggingSessionOutputBuffer(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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Deprecated.
|
org.apache.http.io.HttpTransportMetrics |
getMetrics()
Deprecated.
|
void |
write(byte[] b)
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
void |
writeLine(org.apache.http.util.CharArrayBuffer buffer)
Deprecated.
|
void |
writeLine(String s)
Deprecated.
|
public LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out,
Wire wire,
String charset)
out - The session output buffer.wire - The Wire log to use.charset - protocol charset, ASCII if nullpublic LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out,
Wire wire)
public void write(byte[] b,
int off,
int len)
throws IOException
write in interface org.apache.http.io.SessionOutputBufferIOExceptionpublic void write(int b)
throws IOException
write in interface org.apache.http.io.SessionOutputBufferIOExceptionpublic void write(byte[] b)
throws IOException
write in interface org.apache.http.io.SessionOutputBufferIOExceptionpublic void flush()
throws IOException
flush in interface org.apache.http.io.SessionOutputBufferIOExceptionpublic void writeLine(org.apache.http.util.CharArrayBuffer buffer)
throws IOException
writeLine in interface org.apache.http.io.SessionOutputBufferIOExceptionpublic void writeLine(String s) throws IOException
writeLine in interface org.apache.http.io.SessionOutputBufferIOExceptionpublic org.apache.http.io.HttpTransportMetrics getMetrics()
getMetrics in interface org.apache.http.io.SessionOutputBufferCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.