Package org.atmosphere.config.service
Annotation Type PathParam
-
@Retention(RUNTIME) @Target(FIELD) @Documented public @interface PathParamUse this annotation with theManagedServiceannotation. 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
Optional Elements Modifier and Type Optional Element Description java.lang.StringvalueThe URI template variable to bind to.
-