Serializable, Comparable<AuthType>, org.refcodes.mixin.NameAccessorpublic enum AuthType extends Enum<AuthType> implements org.refcodes.mixin.NameAccessor
| Modifier and Type | Method | Description |
|---|---|---|
static AuthType |
fromName(String aName) |
Returns that
AuthType represented by the given name. |
String |
getName() |
Gets the name.
|
static AuthType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AuthType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthType BASIC
public static final AuthType BEARER
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType 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 nullpublic String getName()
getName in interface org.refcodes.mixin.NameAccessorCopyright © 2018. All rights reserved.