public static enum ResourceMethod.JaxrsType extends java.lang.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 |
---|---|
private static ResourceMethod.JaxrsType |
classify(java.lang.String httpMethod) |
(package private) abstract PathPattern |
createPatternFor(java.lang.String pathTemplate)
Create a proper matching path pattern from the provided template for
the selected method type.
|
static ResourceMethod.JaxrsType |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract PathPattern createPatternFor(java.lang.String pathTemplate)
pathTemplate
- method path template.private static ResourceMethod.JaxrsType classify(java.lang.String httpMethod)