Class Authorization

All Implemented Interfaces:
HttpHeader

public class Authorization extends HttpStringHeader
Represents an HTTP Authorization header.

Authentication credentials for HTTP authentication.

See Also:
Since:
9.2.1
  • Field Details

  • Constructor Details

    • Authorization

      public Authorization(String value)
      Constructor with an eager value.
      Parameters:
      value - The header value. May be null.
    • Authorization

      public Authorization(Supplier<String> valueSupplier)
      Constructor with a lazy value supplier.
      Parameters:
      valueSupplier - Supplier for the header value. Must not be null.
  • Method Details