Class PriorityParams

java.lang.Object
org.apache.hc.core5.http2.priority.PriorityParams

@Internal public final class PriorityParams extends Object
Presence-aware view for RFC 9218 Priority on responses.
  • Field Details

    • urgency

      private final Integer urgency
    • incremental

      private final Boolean incremental
  • Constructor Details

    • PriorityParams

      public PriorityParams(Integer urgency, Boolean incremental)
  • Method Details

    • getUrgency

      public Integer getUrgency()
    • getIncremental

      public Boolean getIncremental()
    • toValueWithDefaults

      public PriorityValue toValueWithDefaults()
      Convert to concrete value by applying RFC defaults (u=3, i=false) for missing members.