| Package | Description |
|---|---|
| java.net |
Provides the classes for implementing networking applications.
|
| Modifier and Type | Method and Description |
|---|---|
protected Authenticator |
Authenticator.getRequestorType()
Returns whether the requestor is a Proxy or a Server.
|
static Authenticator |
Authenticator.RequestorType.valueOf(String
Returns the enum constant of this type with the specified name.
|
static Authenticator |
Authenticator.RequestorType.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String
Ask the authenticator that has been registered with the system for a password.
|