@UnstableApi public final class DefaultHttp2PriorityFrame extends AbstractHttp2StreamFrame implements Http2PriorityFrame
构造器和说明 |
---|
DefaultHttp2PriorityFrame(int streamDependency,
short weight,
boolean exclusive) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.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() |
java.lang.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
|
java.lang.String |
toString() |
short |
weight()
Stream weight
|
stream
stream
public DefaultHttp2PriorityFrame(int streamDependency, short weight, boolean exclusive)
public int streamDependency()
Http2PriorityFrame
streamDependency
在接口中 Http2PriorityFrame
public short weight()
Http2PriorityFrame
weight
在接口中 Http2PriorityFrame
public boolean exclusive()
Http2PriorityFrame
true
if this stream is exclusive else set to false
exclusive
在接口中 Http2PriorityFrame
public DefaultHttp2PriorityFrame stream(Http2FrameStream stream)
Http2StreamFrame
Http2FrameStream
object for this frame.stream
在接口中 Http2PriorityFrame
stream
在接口中 Http2StreamFrame
stream
在类中 AbstractHttp2StreamFrame
public java.lang.String name()
Http2Frame
name
在接口中 Http2Frame
public boolean equals(java.lang.Object o)
AbstractHttp2StreamFrame
true
if o
has equal stream
to this object.equals
在类中 AbstractHttp2StreamFrame
public int hashCode()
hashCode
在类中 AbstractHttp2StreamFrame
public java.lang.String toString()
toString
在类中 java.lang.Object