Annotationsschnittstelle QueryParameter


@Target(PARAMETER) @Retention(RUNTIME) public @interface QueryParameter
  • Erforderliche Elemente - Übersicht

    Erforderliche Elemente
    Modifizierer und Typ
    Erforderliches Element
    Beschreibung
    Defines the name of the HTTP query parameter whose value will be used to initialize the value of the annotated method argument.
  • Elementdetails

    • value

      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".