Package io.netty.handler.codec.quic
Class QuicStreamPriority
- java.lang.Object
-
- io.netty.handler.codec.quic.QuicStreamPriority
-
public final class QuicStreamPriority extends java.lang.ObjectThe priority of aQuicStreamChannel.
-
-
Constructor Summary
Constructors Constructor Description QuicStreamPriority(int urgency, boolean incremental)Create a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()booleanisIncremental()trueif incremental,falseotherwise.java.lang.StringtoString()inturgency()The urgency of the stream.
-
-
-
Method Detail
-
urgency
public int urgency()
The urgency of the stream. Smaller number means more urgent and so data will be send earlier.- Returns:
- the urgency.
-
isIncremental
public boolean isIncremental()
trueif incremental,falseotherwise.- Returns:
- if incremental.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-