@Retention(RUNTIME) @Target(PARAMETER) public @interface QueryParam
This annotation is used to mark a method parameter as a query param (request param). The value of the annotation is the name of the query param to be extracted from the URL.
  • Required Element Summary

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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    boolean
     
  • Element Details

    • value

      String value
    • required

      boolean required
      Default:
      false
    • defaultValue

      String defaultValue
      Default:
      ""