Package org.glassfish.jersey.model
Enum Class Parameter.Source
- All Implemented Interfaces:
Serializable
,Comparable<Parameter.Source>
,java.lang.constant.Constable
- Enclosing class:
- Parameter
Parameter injection sources type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBean param parameter injection source.Context parameter injection source.Cookie parameter injection source.Entity parameter injection source.Form parameter injection source.Header parameter injection source.Matrix parameter injection source.Path parameter injection source.Query parameter injection source.Suspended async response injection source.Unknown parameter injection source.Uri parameter injection source. -
Method Summary
Modifier and TypeMethodDescriptionstatic Parameter.Source
Returns the enum constant of this class with the specified name.static Parameter.Source[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTEXT
Context parameter injection source. -
COOKIE
Cookie parameter injection source. -
ENTITY
Entity parameter injection source. -
FORM
Form parameter injection source. -
HEADER
Header parameter injection source. -
URI
Uri parameter injection source. -
MATRIX
Matrix parameter injection source. -
PATH
Path parameter injection source. -
QUERY
Query parameter injection source. -
SUSPENDED
Suspended async response injection source. -
BEAN_PARAM
Bean param parameter injection source. -
UNKNOWN
Unknown parameter injection source.
-
-
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
-