@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface PathParam
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.| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
value
The URI template variable to bind to.
|
Copyright © 2021. All Rights Reserved.