- All Implemented Interfaces:
Serializable
,Comparable<ParamSource>
,Constable
List of possible parameter sources supported by
Context.lookup(String, ParamSource...)
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSource equivalent toContext.cookie(String)
.Source equivalent toContext.flash(String)
.Source equivalent toContext.form(String)
.Source equivalent toContext.header(String)
.Source equivalent toContext.path(String)
.Source equivalent toContext.query(String)
.Source equivalent toContext.session(String)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParamSource
Returns the enum constant of this class with the specified name.static ParamSource[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PATH
Source equivalent toContext.path(String)
. -
HEADER
Source equivalent toContext.header(String)
. -
COOKIE
Source equivalent toContext.cookie(String)
. -
FLASH
Source equivalent toContext.flash(String)
. -
SESSION
Source equivalent toContext.session(String)
. -
QUERY
Source equivalent toContext.query(String)
. -
FORM
Source equivalent toContext.form(String)
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-