@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
|
streamstreampublic DefaultHttp2PriorityFrame(int streamDependency,
short weight,
boolean exclusive)
public int streamDependency()
Http2PriorityFramestreamDependency 在接口中 Http2PriorityFramepublic short weight()
Http2PriorityFrameweight 在接口中 Http2PriorityFramepublic boolean exclusive()
Http2PriorityFrametrue if this stream is exclusive else set to falseexclusive 在接口中 Http2PriorityFramepublic DefaultHttp2PriorityFrame stream(Http2FrameStream stream)
Http2StreamFrameHttp2FrameStream object for this frame.stream 在接口中 Http2PriorityFramestream 在接口中 Http2StreamFramestream 在类中 AbstractHttp2StreamFramepublic java.lang.String name()
Http2Framename 在接口中 Http2Framepublic boolean equals(java.lang.Object o)
AbstractHttp2StreamFrametrue if o has equal stream to this object.equals 在类中 AbstractHttp2StreamFramepublic int hashCode()
hashCode 在类中 AbstractHttp2StreamFramepublic java.lang.String toString()
toString 在类中 java.lang.Object