Annotation Interface RequestPath


@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface RequestPath
Annotation which indicates that a method parameter should be bound to a path segment variable.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the segment to bind to the method parameter.
  • Element Details

    • value

      String value
      The name of the segment to bind to the method parameter.
      Returns:
      The name of the segment to bind to the method parameter.