Interface AuthenticateCallback.Params
- Enclosing interface:
- AuthenticateCallback
public static interface AuthenticateCallback.Params
The parameters of the
AuthenticateCallback
.-
Method Summary
Modifier and TypeMethodDescriptionbrowser()
Returns anOptional
that contains theBrowser
instance initiated this authentication request or an emptyOptional
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()
Returnstrue
if the request is issued by a proxy server.default String
scheme()
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
Returns a string that represents the URL of the request that requires an authentication. -
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
Returns the host-port pair identifying the service that requests the authentication. -
isProxy
default boolean isProxy()Returnstrue
if the request is issued by a proxy server. -
browser
Returns anOptional
that contains theBrowser
instance initiated this authentication request or an emptyOptional
if it has not been determined or not available anymore.- Since:
- 7.3
-