@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 |
---|---|
Http2StreamFrame |
setStreamId(int streamId)
Sets the identifier of the stream this frame applies to.
|
int |
streamId()
The identifier of the stream this frame applies to.
|
name
Http2StreamFrame setStreamId(int streamId)
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–2016 The Netty Project. All rights reserved.