Package io.netty.handler.codec.quic
Class QuicStreamPriority
- java.lang.Object
-
- io.netty.handler.codec.quic.QuicStreamPriority
-
public final class QuicStreamPriority extends java.lang.Object
The 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 boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isIncremental()
true
if incremental,false
otherwise.java.lang.String
toString()
int
urgency()
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()
true
if incremental,false
otherwise.- Returns:
- if incremental.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-