Package org.eclipse.jetty.http2.frames
Class PriorityFrame
java.lang.Object
org.eclipse.jetty.http2.frames.Frame
org.eclipse.jetty.http2.frames.StreamFrame
org.eclipse.jetty.http2.frames.PriorityFrame
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final intstatic final intprivate final intFields inherited from class org.eclipse.jetty.http2.frames.Frame
DEFAULT_MAX_LENGTH, EMPTY_ARRAY, HEADER_LENGTH, MAX_MAX_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionPriorityFrame(int parentStreamId, int weight, boolean exclusive) PriorityFrame(int streamId, int parentStreamId, int weight, boolean exclusive) -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.intintbooleantoString()withStreamId(int streamId) Methods inherited from class org.eclipse.jetty.http2.frames.StreamFrame
getStreamId
-
Field Details
-
PRIORITY_LENGTH
public static final int PRIORITY_LENGTH- See Also:
-
parentStreamId
private final int parentStreamId -
weight
private final int weight -
exclusive
private final boolean exclusive
-
-
Constructor Details
-
PriorityFrame
public PriorityFrame(int parentStreamId, int weight, boolean exclusive) -
PriorityFrame
public PriorityFrame(int streamId, int parentStreamId, int weight, boolean exclusive)
-
-
Method Details
-
getDependentStreamId
Deprecated.usegetParentStreamId()instead.- Returns:
intof the Parent Stream
-
getParentStreamId
public int getParentStreamId() -
getWeight
public int getWeight() -
isExclusive
public boolean isExclusive() -
withStreamId
- Specified by:
withStreamIdin classStreamFrame
-
toString
-
getParentStreamId()instead.