Class PriorityParams


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

      Fields 
      Modifier and Type Field Description
      private java.lang.Boolean incremental  
      private java.lang.Integer urgency  
    • Constructor Summary

      Constructors 
      Constructor Description
      PriorityParams​(java.lang.Integer urgency, java.lang.Boolean incremental)  
    • Field Detail

      • urgency

        private final java.lang.Integer urgency
      • incremental

        private final java.lang.Boolean incremental
    • Constructor Detail

      • PriorityParams

        public PriorityParams​(java.lang.Integer urgency,
                              java.lang.Boolean incremental)
    • Method Detail

      • getUrgency

        public java.lang.Integer getUrgency()
      • getIncremental

        public java.lang.Boolean getIncremental()
      • toValueWithDefaults

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