Annotation Interface PathParam


@Target(PARAMETER) @Retention(CLASS) @Documented public @interface PathParam
Inject path parameter into a method parameter. Path parameters are obtained from the path template of the routing method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the parameter.
  • Element Details

    • value

      String value
      Name of the parameter.
      Returns:
      name of the path parameter