Annotation Type Param


@Retention(RUNTIME)
@Target({PARAMETER,FIELD,METHOD,CONSTRUCTOR})
public @interface Param
Annotation for mapping a parameter of a request onto the following elements.

a parameter of an annotated service method

or, a field of a request bean

or, a constructor with only one parameter of a request bean

or, a method with only one parameter of a request bean

or, a parameter of a request bean constructor

or, a parameter of a request bean method

(See: RequestConverter and RequestConverterFunction)

  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    String value
    The name of the request parameter to bind to.
  • Element Details

    • value

      String value
      The name of the request parameter to bind to. The path variable, the parameter name in a query string or a URL-encoded form data, or the name of a multipart.
      Default:
      "\n\t\t\n\t\t\n\u0000\u0001\u0002\n\t\t\t\t\n"