Package io.netty.handler.codec.http2
Class Http2FrameCodec.DefaultHttp2FrameStream
java.lang.Object
io.netty.handler.codec.http2.Http2FrameCodec.DefaultHttp2FrameStream
- All Implemented Interfaces:
Http2FrameStream
- Enclosing class:
Http2FrameCodec
Http2FrameStream
implementation.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Channel
private int
(package private) final Http2FrameStreamEvent
private Http2Stream
(package private) final Http2FrameStreamEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
id()
Returns the stream identifier.(package private) Http2FrameCodec.DefaultHttp2FrameStream
setStreamAndProperty
(Http2Connection.PropertyKey streamKey, Http2Stream stream) state()
Returns the state of this stream.toString()
-
Field Details
-
id
private volatile int id -
stream
-
stateChanged
-
writabilityChanged
-
attachment
Channel attachment
-
-
Constructor Details
-
DefaultHttp2FrameStream
DefaultHttp2FrameStream()
-
-
Method Details
-
setStreamAndProperty
Http2FrameCodec.DefaultHttp2FrameStream setStreamAndProperty(Http2Connection.PropertyKey streamKey, Http2Stream stream) -
id
public int id()Description copied from interface:Http2FrameStream
Returns the stream identifier.Use
Http2CodecUtil.isStreamIdValid(int)
to check if the stream has already been assigned an identifier.- Specified by:
id
in interfaceHttp2FrameStream
-
state
Description copied from interface:Http2FrameStream
Returns the state of this stream.- Specified by:
state
in interfaceHttp2FrameStream
-
toString
-