Interface Http2Frame<T extends Http2Flag>

Type Parameters:
T - type of supported flags
All Known Implementing Classes:
Http2Continuation, Http2DataFrame, Http2GoAway, Http2Ping, Http2Priority, Http2RstStream, Http2Settings, Http2WindowUpdate

HTTP/2 frame.
  • Method Details

    • toFrameData

      Http2FrameData toFrameData(Http2Settings settings, int streamId, T flags)
      Not implemented in headers, data, as these may use continuations.
      Parameters:
      settings - settings
      streamId - stream id of this frame
      flags - 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