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
|
streamclone, finalize, getClass, notify, notifyAll, wait, wait, waitstreampublic DefaultHttp2PriorityFrame(int streamDependency,
short weight,
boolean exclusive)
public int streamDependency()
Http2PriorityFramestreamDependency in interface Http2PriorityFramepublic short weight()
Http2PriorityFrameweight in interface Http2PriorityFramepublic boolean exclusive()
Http2PriorityFrametrue if this stream is exclusive else set to falseexclusive in interface Http2PriorityFramepublic DefaultHttp2PriorityFrame stream(Http2FrameStream stream)
Http2StreamFrameHttp2FrameStream object for this frame.stream in interface Http2PriorityFramestream in interface Http2StreamFramestream in class AbstractHttp2StreamFramepublic String name()
Http2Framename in interface Http2Framepublic boolean equals(Object o)
AbstractHttp2StreamFrametrue if o has equal stream to this object.equals in class AbstractHttp2StreamFramepublic int hashCode()
hashCode in class AbstractHttp2StreamFrameCopyright © 2008–2025 The Netty Project. All rights reserved.