Added in API level 1
Authenticator.RequestorType
public
static
final
enum
Authenticator.RequestorType
extends Enum<Authenticator.RequestorType>
java.lang.Object | ||
↳ | java.lang.Enum<java.net.Authenticator.RequestorType> | |
↳ | java.net.Authenticator.RequestorType |
The type of the entity requesting authentication.
Summary
Enum values | |
---|---|
Authenticator.RequestorType |
PROXY
Entity requesting authentication is a HTTP proxy server. |
Authenticator.RequestorType |
SERVER
Entity requesting authentication is a HTTP origin server. |
Public methods | |
---|---|
static
Authenticator.RequestorType
|
valueOf(String name)
|
static
final
RequestorType[]
|
values()
|
Inherited methods | |
---|---|
Enum values
PROXY
Added in API level 1
public static final Authenticator.RequestorType PROXY
Entity requesting authentication is a HTTP proxy server.
SERVER
Added in API level 1
public static final Authenticator.RequestorType SERVER
Entity requesting authentication is a HTTP origin server.
Public methods
valueOf
public static Authenticator.RequestorType valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
Authenticator.RequestorType |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[],[]]