Package groovy.http

# Annotation Interface Query

@Incubating @Retention(RUNTIME) @Target(PARAMETER) public @interface Query
Marks a method parameter as an HTTP query parameter.

Since:
  6.0.0

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String`
  `value`
  The query parameter name.

- ## Element Details

  - ### value

    String value
    The query parameter name. Defaults to the method parameter name if empty.
    Default:
      ""