Interface AuthenticateCallback.Params

Enclosing interface:
AuthenticateCallback

public static interface AuthenticateCallback.Params
The parameters of the AuthenticateCallback.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Browser>
    Returns an Optional that contains the Browser instance initiated this authentication request or an empty Optional if it has not been determined or not available anymore.
    default HostPort
    Returns the host-port pair identifying the service that requests the authentication.
    default boolean
    Returns true if the request is issued by a proxy server.
    default String
    Returns the requested authentication scheme, such as "basic" or "digest".
    default String
    url()
    Returns a string that represents the URL of the request that requires an authentication.
  • Method Details

    • url

      default String url()
      Returns a string that represents the URL of the request that requires an authentication.
    • scheme

      default String scheme()
      Returns the requested authentication scheme, such as "basic" or "digest". Can be empty when the request is issued by an FTP server. Encoded in ASCII.
    • hostPort

      default HostPort hostPort()
      Returns the host-port pair identifying the service that requests the authentication.
    • isProxy

      default boolean isProxy()
      Returns true if the request is issued by a proxy server.
    • browser

      default Optional<Browser> browser()
      Returns an Optional that contains the Browser instance initiated this authentication request or an empty Optional if it has not been determined or not available anymore.
      Since:
      7.3