Annotation Type RequestParam


  • @Retention(RUNTIME)
    @Target(PARAMETER)
    public @interface RequestParam
    This annotation indicates that the value of a method parameter must be read from a request parameter.
    Author:
    andrea del bene
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String defaultValue  
      boolean required  
      • required

        boolean required
        Default:
        true
      • defaultValue

        String defaultValue
        Default:
        ""