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, getUnit
public 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 Fields
close
- the value of the close flagpublic boolean isClose()
public byte getFlags()
FLAG_CLOSE
Copyright © 1995-2015 Webtide. All Rights Reserved.