public enum AuthenticationMode extends Enum<AuthenticationMode>
| Enum Constant and Description |
|---|
BASIC_AUTH |
SHARED_SECRET_KEY |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMode BASIC_AUTH
public static final AuthenticationMode SHARED_SECRET_KEY
public static AuthenticationMode[] values()
for (AuthenticationMode c : AuthenticationMode.values()) System.out.println(c);
public static AuthenticationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.