Package org.jboss.as.jaxrs
Enum JaxrsAnnotations
- java.lang.Object
-
- java.lang.Enum<JaxrsAnnotations>
-
- org.jboss.as.jaxrs.JaxrsAnnotations
-
- All Implemented Interfaces:
Serializable
,Comparable<JaxrsAnnotations>
public enum JaxrsAnnotations extends Enum<JaxrsAnnotations>
Class that stores theDotName
s of Jakarta RESTful Web Services annotations- Author:
- Stuart Douglas
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION_PATH
CONSUMES
CONTEXT
COOKIE_PARAM
DEFAULT_VALUE
DELETE
ENCODED
FORM_PARAM
GET
HEAD
HEADER_PARAM
HTTP_METHOD
MATRIX_PARAM
PATH
PATH_PARAM
POST
PRODUCES
PROVIDER
PUT
QUERY_PARAM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.DotName
getDotName()
String
getSimpleName()
static JaxrsAnnotations
valueOf(String name)
Returns the enum constant of this type with the specified name.static JaxrsAnnotations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSUMES
public static final JaxrsAnnotations CONSUMES
-
COOKIE_PARAM
public static final JaxrsAnnotations COOKIE_PARAM
-
DEFAULT_VALUE
public static final JaxrsAnnotations DEFAULT_VALUE
-
DELETE
public static final JaxrsAnnotations DELETE
-
ENCODED
public static final JaxrsAnnotations ENCODED
-
FORM_PARAM
public static final JaxrsAnnotations FORM_PARAM
-
GET
public static final JaxrsAnnotations GET
-
HEAD
public static final JaxrsAnnotations HEAD
-
HEADER_PARAM
public static final JaxrsAnnotations HEADER_PARAM
-
HTTP_METHOD
public static final JaxrsAnnotations HTTP_METHOD
-
MATRIX_PARAM
public static final JaxrsAnnotations MATRIX_PARAM
-
PATH
public static final JaxrsAnnotations PATH
-
PATH_PARAM
public static final JaxrsAnnotations PATH_PARAM
-
POST
public static final JaxrsAnnotations POST
-
PRODUCES
public static final JaxrsAnnotations PRODUCES
-
PUT
public static final JaxrsAnnotations PUT
-
QUERY_PARAM
public static final JaxrsAnnotations QUERY_PARAM
-
CONTEXT
public static final JaxrsAnnotations CONTEXT
-
PROVIDER
public static final JaxrsAnnotations PROVIDER
-
APPLICATION_PATH
public static final JaxrsAnnotations APPLICATION_PATH
-
-
Method Detail
-
values
public static JaxrsAnnotations[] 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 (JaxrsAnnotations c : JaxrsAnnotations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JaxrsAnnotations 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
-
getDotName
public org.jboss.jandex.DotName getDotName()
-
getSimpleName
public String getSimpleName()
-
-