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
-
public class PriorityFrame extends StreamFrame
-
-
Field Summary
Fields Modifier and Type Field Description static int
PRIORITY_LENGTH
-
Fields inherited from class org.eclipse.jetty.http2.frames.Frame
DEFAULT_MAX_LENGTH, EMPTY_ARRAY, HEADER_LENGTH, MAX_MAX_LENGTH
-
-
Constructor Summary
Constructors Constructor Description PriorityFrame(int parentStreamId, int weight, boolean exclusive)
PriorityFrame(int streamId, int parentStreamId, int weight, boolean exclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getDependentStreamId()
Deprecated.usegetParentStreamId()
instead.int
getParentStreamId()
int
getWeight()
boolean
isExclusive()
java.lang.String
toString()
PriorityFrame
withStreamId(int streamId)
-
Methods inherited from class org.eclipse.jetty.http2.frames.StreamFrame
getStreamId
-
-
-
-
Field Detail
-
PRIORITY_LENGTH
public static final int PRIORITY_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDependentStreamId
@Deprecated public int getDependentStreamId()
Deprecated.usegetParentStreamId()
instead.- Returns:
int
of the Parent Stream
-
getParentStreamId
public int getParentStreamId()
-
getWeight
public int getWeight()
-
isExclusive
public boolean isExclusive()
-
withStreamId
public PriorityFrame withStreamId(int streamId)
- Specified by:
withStreamId
in classStreamFrame
-
-