Package io.netty.handler.codec.http2
Interface Http2FrameStream
- All Known Implementing Classes:
Http2FrameCodec.DefaultHttp2FrameStream
public interface Http2FrameStream
A single stream within an HTTP/2 connection. To be used with the
Http2FrameCodec
.-
Method Details
-
id
int id()Returns the stream identifier.Use
Http2CodecUtil.isStreamIdValid(int)
to check if the stream has already been assigned an identifier. -
state
Http2Stream.State state()Returns the state of this stream.
-