Enum BaseServlet.ALLOW_AUTH
- java.lang.Object
-
- java.lang.Enum<BaseServlet.ALLOW_AUTH>
-
- de.kosmos_lab.web.server.servlets.BaseServlet.ALLOW_AUTH
-
- All Implemented Interfaces:
Serializable,Comparable<BaseServlet.ALLOW_AUTH>
- Enclosing class:
- BaseServlet
public static enum BaseServlet.ALLOW_AUTH extends Enum<BaseServlet.ALLOW_AUTH>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEADER_ONLYPARAMETER_AND_HEADER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseServlet.ALLOW_AUTHvalueOf(String name)Returns the enum constant of this type with the specified name.static BaseServlet.ALLOW_AUTH[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER_ONLY
public static final BaseServlet.ALLOW_AUTH HEADER_ONLY
-
PARAMETER_AND_HEADER
public static final BaseServlet.ALLOW_AUTH PARAMETER_AND_HEADER
-
-
Method Detail
-
values
public static BaseServlet.ALLOW_AUTH[] 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 (BaseServlet.ALLOW_AUTH c : BaseServlet.ALLOW_AUTH.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseServlet.ALLOW_AUTH valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-