org.atmosphere.config.service
Annotation Type PathParam


@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.
 

value

public abstract String value
The URI template variable to bind to.

Default:
""


Copyright © 2014. All Rights Reserved.