Top Description Methods
io.netty.handler.codec.http2

public Interface Http2FrameStream

Known Direct Implementers
io.netty.handler.codec.http2.Http2FrameCodec.DefaultHttp2FrameStream
Annotations
@UnstableApi
Imports
io.netty.handler.codec.http2.Http2Stream.State, io.netty.util.internal.UnstableApi

A single stream within an HTTP/2 connection. To be used with the Http2FrameCodec.

Method Summary

Modifier and TypeMethod and Description
public int
id()

Returns the stream identifier.

public Http2Stream.State
state()

Returns the state of this stream.

Method Detail

idback to summary
public int id()

Returns the stream identifier.

Use Http2CodecUtil#isStreamIdValid(int) to check if the stream has already been assigned an identifier.

stateback to summary
public Http2Stream.State state()

Returns the state of this stream.