Module io.helidon.http.http2
Package io.helidon.http.http2
Interface Http2Frame<T extends Http2Flag>
- Type Parameters:
T- type of supported flags
- All Known Implementing Classes:
Http2Continuation,Http2DataFrame,Http2GoAway,Http2Ping,Http2Priority,Http2RstStream,Http2Settings,Http2WindowUpdate
public sealed interface Http2Frame<T extends Http2Flag>
permits Http2Continuation, Http2DataFrame, Http2GoAway, Http2Ping, Http2Priority, Http2RstStream, Http2Settings, Http2WindowUpdate
HTTP/2 frame.
-
Method Summary
Modifier and TypeMethodDescriptionFrame type enum.Frame types.name()Frame name.toFrameData(Http2Settings settings, int streamId, T flags) Not implemented in headers, data, as these may use continuations.
-
Method Details
-
toFrameData
Not implemented in headers, data, as these may use continuations.- Parameters:
settings- settingsstreamId- stream id of this frameflags- to use- Returns:
- frame data
-
name
String name()Frame name.- Returns:
- frame type name
-
frameType
Http2FrameType frameType()Frame type enum.- Returns:
- type of this frame
-
frameTypes
Http2FrameTypes<T> frameTypes()Frame types.- Returns:
- frame types
-