|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.conn.LoggingSessionOutputBuffer
@Contract(threading=IMMUTABLE) @Deprecated public class LoggingSessionOutputBuffer
Logs all data written to the wire LOG.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public void write(byte[] b,
int off,
int len)
throws IOException
write in interface org.apache.http.io.SessionOutputBufferIOException
public void write(int b)
throws IOException
write in interface org.apache.http.io.SessionOutputBufferIOException
public void write(byte[] b)
throws IOException
write in interface org.apache.http.io.SessionOutputBufferIOException
public void flush()
throws IOException
flush in interface org.apache.http.io.SessionOutputBufferIOException
public void writeLine(org.apache.http.util.CharArrayBuffer buffer)
throws IOException
writeLine in interface org.apache.http.io.SessionOutputBufferIOException
public 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.SessionOutputBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||