public class PushInfo extends Info
A container for PUSH_SYN_STREAM frames metadata and data.
| Modifier and Type | Field and Description |
|---|---|
static byte |
FLAG_CLOSE
Flag that indicates that this
PushInfo is the last frame in the stream. |
| Constructor and Description |
|---|
PushInfo(Fields headers,
boolean close)
Creates a
PushInfo instance with the given headers and the given close flag,
not unidirectional, without associated stream, and with default priority. |
PushInfo(long timeout,
TimeUnit unit,
Fields headers,
boolean close)
Creates a
PushInfo instance with the given headers, the given close flag and with the given priority. |
| 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 PushInfo is the last frame in the stream.
isClose(),
getFlags(),
Constant Field ValuesCopyright © 1995-2015 Webtide. All Rights Reserved.