Enum HttpAuthScheme.HttpScheme
- java.lang.Object
-
- java.lang.Enum<HttpAuthScheme.HttpScheme>
-
- io.inversion.action.security.schemes.HttpAuthScheme.HttpScheme
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HttpAuthScheme.HttpScheme>
- Enclosing class:
- HttpAuthScheme
public static enum HttpAuthScheme.HttpScheme extends java.lang.Enum<HttpAuthScheme.HttpScheme>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpAuthScheme.HttpSchemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HttpAuthScheme.HttpScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
basic
public static final HttpAuthScheme.HttpScheme basic
-
bearer
public static final HttpAuthScheme.HttpScheme bearer
-
-
Method Detail
-
values
public static HttpAuthScheme.HttpScheme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpAuthScheme.HttpScheme c : HttpAuthScheme.HttpScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpAuthScheme.HttpScheme valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-