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 SummaryModifier 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- 
toFrameDataNot implemented in headers, data, as these may use continuations.- Parameters:
- settings- settings
- streamId- stream id of this frame
- flags- to use
- Returns:
- frame data
 
- 
nameString name()Frame name.- Returns:
- frame type name
 
- 
frameTypeHttp2FrameType frameType()Frame type enum.- Returns:
- type of this frame
 
- 
frameTypesHttp2FrameTypes<T> frameTypes()Frame types.- Returns:
- frame types
 
 
-