Package com.shri.restinpeace.annotation.request


package com.shri.restinpeace.annotation.request
  • Annotation Types
    Class
    Description
    Sends the annotated parameter as the request body.
    Marks the java.io.File parameter a File-returning method writes its response body into, instead of buffering the whole body into a byte[]:
    One name/value pair of a @FormUrlEncoded method's form-urlencoded body.
    A Map<String, ?> parameter of a @FormUrlEncoded method adding one form field per entry, for a set of field names not known until runtime - the @FieldMap counterpart to @QueryMap and @PartMap.
    Marks a method as sending an application/x-www-form-urlencoded body built from its @Field/@FieldMap-annotated parameters, instead of the JSON/raw-string body a @Body parameter would send, or the multipart/form-data body @Multipart would send.
    Sets an HTTP header for each entry of the annotated Map<String, ?> parameter, for a set of headers whose names aren't known until runtime - e.g. caller-supplied headers in a multi-tenant app.
    Sets an HTTP header on the request from the annotated parameter's value.
    Sets one or more fixed HTTP headers on every call of the annotated method, each given as a "Name: Value" string - for a header whose value is always the same (e.g.
    Marks a method as sending a multipart/form-data body built from its @Part/@PartMap-annotated parameters, instead of the JSON/raw-string body a @Body parameter would send.
    One field of a @Multipart method's multipart body.
    A Map<String, ?> parameter of a @Multipart method adding one part per entry, for a set of field names not known until runtime - the @Part counterpart to @QueryMap and @HeaderMap.
    Substitutes a {name} placeholder in the method's URL template with the annotated parameter's value.
    Appends a query string parameter for each entry of the annotated Map<String, ?> parameter, for a set of query params whose names aren't known until runtime - e.g. a search endpoint's open-ended filter set.
    Appends a query string parameter to the request from the annotated parameter's value.
    Uses the annotated String parameter as the method's entire URL, instead of resolving one from the HTTP method annotation's template (with @BaseUrl/a runtime base URL and @PathParams).