|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface PathParam
Use this annotation with the ManagedService annotation. Annotate a field which will get appropriate value when
the service is instantiated for given path. The syntax of the path is the following
/whatever/{varX}/.../whatever/.../{varY}/...
The @PathVariable annotation may be given a name, otherwise verbatim name of field is used
The number of slashes in the matched and matching paths shall be equal, otherwise the result is undefined.
| Optional Element Summary | |
|---|---|
String |
value
The URI template variable to bind to. |
public abstract String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||