public class ReplyInfo extends Info
A container for SYN_REPLY frames metadata and headers.
| Modifier and Type | Field and Description |
|---|---|
static byte |
FLAG_CLOSE
Flag that indicates that this
ReplyInfo is the last frame in the stream. |
| Constructor and Description |
|---|
ReplyInfo(boolean close)
Creates a new
ReplyInfo instance with empty headers and the given close flag. |
ReplyInfo(Fields headers,
boolean close)
Creates a
ReplyInfo instance with the given headers and the given close flag. |
ReplyInfo(long timeout,
TimeUnit unit,
Fields headers,
boolean close)
Creates a
ReplyInfo instance with the given headers and the given close flag. |
| Modifier and Type | Method and Description |
|---|---|
byte |
getFlags() |
Fields |
getHeaders() |
boolean |
isClose() |
String |
toString() |
getTimeout, getUnitpublic static final byte FLAG_CLOSE
Flag that indicates that this ReplyInfo is the last frame in the stream.
isClose(),
getFlags(),
Constant Field Valuespublic ReplyInfo(boolean close)
Creates a new ReplyInfo instance with empty headers and the given close flag.
close - the value of the close flagpublic ReplyInfo(Fields headers, boolean close)
Creates a ReplyInfo instance with the given headers and the given close flag.
headers - the Fieldsclose - the value of the close flagpublic boolean isClose()
public byte getFlags()
FLAG_CLOSECopyright © 1995-2015 Webtide. All Rights Reserved.