@UnstableApi public interface Http2StreamFrame extends Http2Frame
streamId()
must return 0
. If the frame applies to a stream, the
streamId()
must be greater than zero.Modifier and Type | Method and Description |
---|---|
int |
streamId()
The identifier of the stream this frame applies to.
|
Http2StreamFrame |
streamId(int streamId)
Sets the identifier of the stream this frame applies to.
|
name
Http2StreamFrame streamId(int streamId)
NOTE: This method is supposed to be called by the HTTP/2 transport only. It must not be called by users.
this
int streamId()
0
if the frame applies to the entire connection, a value greater than 0
if the frame
applies to a particular stream, or a value less than 0
if the frame has yet to be associated with
the connection or a stream.Copyright © 2008–2017 The Netty Project. All rights reserved.