Package: groovy.http

## [Java] Annotation Type Query

- groovy.http.Query

-     @Incubating
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.PARAMETER)
      public @interface Query

  Marks a method parameter as an HTTP query parameter.

  Since:
    6.0.0

- - ### Element Summary

    Optional Element Summary
    Type | Name and Description
    --- | ---
    `String` | `value` The query parameter name.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Element Detail

    - #### public String value

      The query parameter name. Defaults to the method parameter name if empty.

      Default:
        ""