public static enum ResourceMethod.JaxrsType extends Enum<ResourceMethod.JaxrsType>
Enum Constant and Description |
---|
RESOURCE_METHOD
JAX-RS resource method.
|
SUB_RESOURCE_LOCATOR
JAX-RS sub-resource locator.
|
SUB_RESOURCE_METHOD
JAX-RS sub-resource method.
|
Modifier and Type | Method and Description |
---|---|
static ResourceMethod.JaxrsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceMethod.JaxrsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceMethod.JaxrsType RESOURCE_METHOD
public static final ResourceMethod.JaxrsType SUB_RESOURCE_METHOD
public static final ResourceMethod.JaxrsType SUB_RESOURCE_LOCATOR
public static ResourceMethod.JaxrsType[] values()
for (ResourceMethod.JaxrsType c : ResourceMethod.JaxrsType.values()) System.out.println(c);
public static ResourceMethod.JaxrsType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.