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