@UnstableApi public abstract class AbstractHttp2StreamFrame extends Object implements Http2StreamFrame
Http2StreamFrame
.Constructor and Description |
---|
AbstractHttp2StreamFrame() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns
true if o has equal stream to this object. |
int |
hashCode() |
int |
streamId()
The identifier of the stream this frame applies to.
|
AbstractHttp2StreamFrame |
streamId(int streamId)
Sets the identifier of the stream this frame applies to.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
name
public AbstractHttp2StreamFrame streamId(int streamId)
Http2StreamFrame
NOTE: This method is supposed to be called by the HTTP/2 transport only. It must not be called by users.
streamId
in interface Http2StreamFrame
this
public int streamId()
Http2StreamFrame
streamId
in interface Http2StreamFrame
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.public boolean equals(Object o)
true
if o
has equal stream
to this object.Copyright © 2008–2017 The Netty Project. All rights reserved.