@Documented @Target(value=PARAMETER) @Retention(value=RUNTIME) @Inherited public @interface HasQuery
@HasFormData
, but only checks the existing of the parameter in the URL string, not
URL-encoded form posts.
Unlike @HasFormData
, using this annotation does not result in the servlet reading the contents
of URL-encoded form posts.
Therefore, this annotation can be used in conjunction with the @Body
annotation or
RestRequest.getBody()
method for application/x-www-form-urlencoded POST
calls.
This is functionally equivalent to the following code...
Copyright © 2018 Apache. All rights reserved.