Annotation Interface RequestParameter


@Retention(RUNTIME) @Target(PARAMETER) public @interface RequestParameter
Marks a method parameter as an HTTP request parameter.

This annotation binds a method parameter to a specific request parameter identified by the value attribute, allowing the framework to inject the parameter's value from the HTTP request.

Since:
1.0.0
Version:
1.0.0
Author:
Sandratra NIAINA
  • Required Element Summary

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

    • value

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