@Target(value={METHOD,TYPE})
@Documented
@Retention(value=RUNTIME)
public @interface Path
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
All paths that will be mapped to an annotated Resource method.
|
Modifier and Type | Optional Element and Description |
---|---|
int |
priority
Used to decide which path will be tested first.
|
public abstract java.lang.String[] value
Get
, Post
, Trace
and Delete
annotations. If both Path
and these annotations are used, an exception will be thrown.public abstract int priority
Copyright © 2013 Caelum. All Rights Reserved.