@Target(value={METHOD,TYPE}) @Documented @Retention(value=RUNTIME) public @interface Path
| Modifier and Type | Required Element and Description |
|---|---|
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 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 © 2014 Caelum. All Rights Reserved.