Class PriorityFrame


public class PriorityFrame extends StreamFrame
  • 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 public int getDependentStreamId()
      Deprecated.
      use getParentStreamId() 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 class StreamFrame
    • toString

      public String toString()
      Overrides:
      toString in class Frame