Annotation Type PathParam


@Retention(RUNTIME) @Target(PARAMETER) public @interface PathParam
Used to annotate method parameters on POJO endpoints the the ServerEndpoint has been defined with a ServerEndpoint.value() that uses a URI template.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the path parameter from the URI template.
  • Element Details

    • value

      String value
      The name of the path parameter from the URI template.
      Returns:
      The path parameter name