@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 null
public 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.SessionOutputBuffer
IOException
public void write(int b) throws IOException
write
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void write(byte[] b) throws IOException
write
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void flush() throws IOException
flush
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void writeLine(org.apache.http.util.CharArrayBuffer buffer) throws IOException
writeLine
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void writeLine(String s) throws IOException
writeLine
in interface org.apache.http.io.SessionOutputBuffer
IOException
public org.apache.http.io.HttpTransportMetrics getMetrics()
getMetrics
in interface org.apache.http.io.SessionOutputBuffer
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.