| Modifier and Type | Field and Description |
|---|---|
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| private short |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Http2Flags | |
| public boolean | |
| public Http2Flags | |
| public boolean | |
| public Http2Flags | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public int | getPaddingPresenceFieldLength()
Gets the length in bytes of the padding presence field expected in the payload. |
| public int | |
| public boolean | Returns: true if the flag is setthe mask identifying the bit for the particular flag being tested mask)Indicates whether or not a particular flag is set. |
| public boolean | |
| public Http2Flags | |
| public boolean | priorityPresent()
Determines whether the flag is set indicating the presence of the exclusive, stream dependency, and weight fields in a HEADERS frame. |
| public Http2Flags | |
| public Http2Flags | Returns: this instance.if the flag should be enabled or disabled. on, short the mask that identifies the bit for the flag. mask)Generic method to set any flag. |
| public String | |
| public short |
| ACK | back to summary |
|---|---|
| public static final short ACK | |
| END_HEADERS | back to summary |
|---|---|
| public static final short END_HEADERS | |
| END_STREAM | back to summary |
|---|---|
| public static final short END_STREAM | |
| PADDED | back to summary |
|---|---|
| public static final short PADDED | |
| PRIORITY | back to summary |
|---|---|
| public static final short PRIORITY | |
| value | back to summary |
|---|---|
| private short value | |
| Http2Flags | back to summary |
|---|---|
| public Http2Flags() | |
| Http2Flags | back to summary |
|---|---|
| public Http2Flags(short value) | |
| ack | back to summary |
|---|---|
| public boolean ack() Determines whether the flag is set indicating that this frame is an ACK. Only applies for SETTINGS and PING frames. | |
| ack | back to summary |
|---|---|
| public Http2Flags ack(boolean ack) Sets the | |
| endOfHeaders | back to summary |
|---|---|
| public boolean endOfHeaders() Determines whether the | |
| endOfHeaders | back to summary |
|---|---|
| public Http2Flags endOfHeaders(boolean endOfHeaders) Sets the | |
| endOfStream | back to summary |
|---|---|
| public boolean endOfStream() Determines whether the | |
| endOfStream | back to summary |
|---|---|
| public Http2Flags endOfStream(boolean endOfStream) Sets the | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getNumPriorityBytes | back to summary |
|---|---|
| public int getNumPriorityBytes() Gets the number of bytes expected for the priority fields of the payload. This is determined
by the | |
| getPaddingPresenceFieldLength | back to summary |
|---|---|
| public int getPaddingPresenceFieldLength() Gets the length in bytes of the padding presence field expected in the payload. This is
determined by the | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isFlagSet | back to summary |
|---|---|
| public boolean isFlagSet(short mask) Indicates whether or not a particular flag is set.
| |
| paddingPresent | back to summary |
|---|---|
| public boolean paddingPresent() For frames that include padding, indicates if the | |
| paddingPresent | back to summary |
|---|---|
| public Http2Flags paddingPresent(boolean paddingPresent) Sets the | |
| priorityPresent | back to summary |
|---|---|
| public boolean priorityPresent() Determines whether the flag is set indicating the presence of the exclusive, stream dependency, and weight fields in a HEADERS frame. | |
| priorityPresent | back to summary |
|---|---|
| public Http2Flags priorityPresent(boolean priorityPresent) Sets the | |
| setFlag | back to summary |
|---|---|
| public Http2Flags setFlag(boolean on, short mask) Generic method to set any flag.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| value | back to summary |
|---|---|
| public short value() Gets the underlying flags value. | |