@Contract(threading=IMMUTABLE) @Deprecated public class LoggingSessionOutputBuffer extends Object implements SessionOutputBuffer
| Constructor and Description |
|---|
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire)
已过时。
|
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire, String charset)
已过时。
创建一个包装指定的会话输出缓冲区的实例。
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
已过时。
|
HttpTransportMetrics |
getMetrics()
已过时。
|
void |
write(byte[] b)
已过时。
|
void |
write(byte[] b, int off, int len)
已过时。
|
void |
write(int b)
已过时。
|
void |
writeLine(CharArrayBuffer buffer)
已过时。
|
void |
writeLine(String s)
已过时。
|
public LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire, String charset)
out - 会话输出缓冲区。
wire - 要使用的
wire日志。
charset - 协议字符集,
ASCII如果
null
public LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire)
public void write(byte[] b,
int off,
int len)
throws IOException
write在接口
SessionOutputBuffer
IOException
public void write(int b)
throws IOException
write在接口
SessionOutputBuffer
IOException
public void write(byte[] b)
throws IOException
write在接口
SessionOutputBuffer
IOException
public void flush()
throws IOException
flush在接口
SessionOutputBuffer
IOException
public void writeLine(CharArrayBuffer buffer) throws IOException
writeLine在接口
SessionOutputBuffer
IOException
public void writeLine(String s) throws IOException
writeLine在接口
SessionOutputBuffer
IOException
public HttpTransportMetrics getMetrics()
getMetrics在接口
SessionOutputBuffer
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.