@UnstableApi
public interface Http2FrameStream
Http2FrameCodec
.Modifier and Type | Field and Description |
---|---|
static Http2FrameStream |
CONNECTION_STREAM
The stream with identifier 0, representing the HTTP/2 connection.
|
Modifier and Type | Method and Description |
---|---|
int |
id()
Returns the stream identifier.
|
Http2Stream.State |
state()
Returns the state of this stream.
|
static final Http2FrameStream CONNECTION_STREAM
int id()
Use Http2CodecUtil.isStreamIdValid(int)
to check if the stream has already been assigned an
identifier.
Http2Stream.State state()
Copyright © 2008–2017 The Netty Project. All rights reserved.