Class Http2Flag.HeaderFlags
java.lang.Object
io.helidon.http.http2.Http2Flag
io.helidon.http.http2.Http2Flag.HeaderFlags
- All Implemented Interfaces:
Http2Flag.Flags
- Enclosing class:
Http2Flag
Flags supported by headers frame.
-
Nested Class Summary
Nested classes/interfaces inherited from class Http2Flag
Http2Flag.ContinuationFlags, Http2Flag.DataFlags, Http2Flag.Flags, Http2Flag.HeaderFlags, Http2Flag.NoFlags, Http2Flag.PingFlags, Http2Flag.PushPromiseFlags, Http2Flag.SettingsFlagsModifier and TypeClassDescriptionstatic classFlags supported by continuation frame.static classFlags supported by data frame.static interfaceFlags interface to have typed flag methods for types that support it.static classFlags supported by headers frame.static classFlags for frames that do not have support for any flag.static classFlags supported by ping frame.static classFlags supported by push promise frame.static classFlags supported by settings frame. -
Field Summary
Fields inherited from class Http2Flag
ACK, END_OF_HEADERS, END_OF_STREAM, PADDED, PRIORITYModifier and TypeFieldDescriptionstatic final intACK flag, used for acknowledgements.static final intEnd of headers flag (used by headers, and continuations).static final intEnd of stream flag (used by headers, and data).static final intPadded flag (used by headers, and data).static final intPriority flag. -
Method Summary
Modifier and TypeMethodDescriptionstatic Http2Flag.HeaderFlagscreate(int flags) Create headers flags.default booleanWhether the end of headers flag is set.default booleanWhether the end of stream flag is set.default booleanpadded()Whether the padded flag is set.default booleanpriority()Whether the priority flag is set.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Http2Flag.Flags
value
-
Method Details
-
create
Create headers flags.- Parameters:
flags- flags number- Returns:
- header flags
-
toString
-
endOfStream
default boolean endOfStream()Whether the end of stream flag is set.- Returns:
- is end of stream
-
endOfHeaders
default boolean endOfHeaders()Whether the end of headers flag is set.- Returns:
- is end of headers
-
priority
default boolean priority()Whether the priority flag is set.- Returns:
- is priority
-
padded
default boolean padded()Whether the padded flag is set.- Returns:
- is padded
-