Annotation Type ClientQueryParams


  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    @Documented
    public @interface ClientQueryParams
    Used to specify query parameters that should be sent with the outbound request. When this annotation is placed at the interface level of a REST client interface, the specified query parameters will be sent on each request for all methods in the interface. When this annotation is placed on a method, the parameters will be sent only for that method. If the same query parameter is specified in an annotation for both the type and the method, only the header value specified in the annotation on the method will be sent.

    This class serves to act as the Repeatable implementation for ClientQueryParam.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ClientQueryParam[] value