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 boolean
private final int
static final int
private final int
Fields 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 TypeMethodDescriptionint
Deprecated.int
int
boolean
toString()
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:
int
of the Parent Stream
-
getParentStreamId
public int getParentStreamId() -
getWeight
public int getWeight() -
isExclusive
public boolean isExclusive() -
withStreamId
- Specified by:
withStreamId
in classStreamFrame
-
toString
-
getParentStreamId()
instead.