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 SummaryConstructors Constructor Description QuicStreamPriority(int urgency, boolean incremental)Create a new instance
 - 
Method SummaryAll 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- 
urgencypublic int urgency() The urgency of the stream. Smaller number means more urgent and so data will be send earlier.- Returns:
- the urgency.
 
 - 
isIncrementalpublic boolean isIncremental() trueif incremental,falseotherwise.- Returns:
- if incremental.
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-