Annotation Interface Parameter


@Target(PARAMETER) @Retention(RUNTIME) public @interface Parameter
Annotates a method parameter for request parameter binding. Should be used in Controllers and Filters.

Matched type can be an array, in order to accept parameters with the same name. If the request body type is multipart/**, the parameter type can be File, which matches an uploaded file.

Author:
Matthew Tropiano
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      String value
      Returns:
      the name of the request parameter.