Class PriorityFormatter

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

@Internal public final class PriorityFormatter extends Object
Formats PriorityValue as RFC 9218 Structured Fields Dictionary. Only emits non-defaults: u when != 3, i when true. Returns null when both are defaults (callers should omit the header then).
  • Method Details

    • format

      public static void format(org.apache.hc.core5.util.CharArrayBuffer dst, PriorityValue value)
    • format

      public static String format(PriorityValue value)
    • formatHeader

      public static org.apache.hc.core5.http.Header formatHeader(PriorityValue value)