public final class DefaultHttp2PriorityFrame extends AbstractHttp2StreamFrame implements Http2PriorityFrame
Constructor and Description |
---|
DefaultHttp2PriorityFrame(int streamDependency,
short weight,
boolean exclusive) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns
true if o has equal stream to this object. |
boolean |
exclusive()
Set to
true if this stream is exclusive else set to false |
int |
hashCode() |
String |
name()
Returns the name of the HTTP/2 frame e.g.
|
DefaultHttp2PriorityFrame |
stream(Http2FrameStream stream)
Set the
Http2FrameStream object for this frame. |
int |
streamDependency()
Parent Stream Id of this Priority request
|
String |
toString() |
short |
weight()
Stream weight
|
stream
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
stream
public DefaultHttp2PriorityFrame(int streamDependency, short weight, boolean exclusive)
public int streamDependency()
Http2PriorityFrame
streamDependency
in interface Http2PriorityFrame
public short weight()
Http2PriorityFrame
weight
in interface Http2PriorityFrame
public boolean exclusive()
Http2PriorityFrame
true
if this stream is exclusive else set to false
exclusive
in interface Http2PriorityFrame
public DefaultHttp2PriorityFrame stream(Http2FrameStream stream)
Http2StreamFrame
Http2FrameStream
object for this frame.stream
in interface Http2PriorityFrame
stream
in interface Http2StreamFrame
stream
in class AbstractHttp2StreamFrame
public String name()
Http2Frame
name
in interface Http2Frame
public boolean equals(Object o)
AbstractHttp2StreamFrame
true
if o
has equal stream
to this object.equals
in class AbstractHttp2StreamFrame
public int hashCode()
hashCode
in class AbstractHttp2StreamFrame
Copyright © 2008–2024 The Netty Project. All rights reserved.