Class NoTrace

All Implemented Interfaces:
Serializable, Cloneable, Header, NameValuePair

@Header("No-Trace") public class NoTrace extends BasicBooleanHeader
Represents a parsed No-Trace HTTP request header.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • of

      public static NoTrace of(String value)
      Static creator.
      Parameters:
      value - The header value.
      Must be parsable by Boolean.parseBoolean(String).
      Can be null.
      Returns:
      A new header bean, or null if the value was null.
    • of

      public static NoTrace of(Boolean value)
      Static creator.
      Parameters:
      value - The header value.
      Can be null.
      Returns:
      A new header bean, or null if the value was null.
    • of

      public static NoTrace of(Supplier<Boolean> value)
      Static creator with delayed value.

      Header value is re-evaluated on each call to BasicBooleanHeader.getValue().

      Parameters:
      value - The header value supplier.
      Can be null.
      Returns:
      A new header bean, or null if the value was null.