public static interface AuthenticateCallback.Params
AuthenticateCallback
.Modifier and Type | Method and Description |
---|---|
default java.util.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. |
default HostPort |
hostPort()
Returns the host-port pair identifying the service that requests the authentication.
|
default boolean |
isProxy()
Returns
true if the request is issued by a proxy server. |
default java.lang.String |
scheme()
Returns the requested authentication scheme, such as "basic" or "digest".
|
default java.lang.String |
url()
Returns a string that represents the URL of the request that requires an authentication.
|
default java.lang.String url()
default java.lang.String scheme()
default HostPort hostPort()
default boolean isProxy()
true
if the request is issued by a proxy server.default java.util.Optional<Browser> browser()
Optional
that contains the Browser
instance initiated this
authentication request or an empty Optional
if it has not been determined or not
available anymore.