Annotation Type QueryParameter


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface QueryParameter
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Defines the name of the HTTP query parameter whose value will be used to initialize the value of the annotated method argument.
    • Element Detail

      • value

        java.lang.String value
        Defines the name of the HTTP query parameter whose value will be used to initialize the value of the annotated method argument. The name is specified in decoded form, any percent encoded literals within the value will not be decoded and will instead be treated as literal text. E.g. if the parameter name is "a b" then the value of the annotation is "a b", not "a+b" or "a%20b".