Class PriorityFormatter


  • @Internal
    public final class PriorityFormatter
    extends java.lang.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 Detail

      • format

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

        public static java.lang.String format​(PriorityValue value)
      • formatHeader

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