RequestBuilder<Req,Res> |
RequestBuilder.body(Req body) |
Sets the body of the request.
|
static <Req,Res> RequestBuilder<Req,Res> |
RequestBuilder.delete(String endpoint) |
Creates a DELETE request builder for the specified endpoint.
|
RequestBuilder<Req,Res> |
RequestBuilder.endpoint(String endpoint) |
Sets the API endpoint for the request.
|
static <Req,Res> RequestBuilder<Req,Res> |
RequestBuilder.get(String endpoint) |
Creates a GET request builder for the specified endpoint.
|
RequestBuilder<Req,Res> |
RequestBuilder.headers(RocketHeaders headers) |
Sets the headers for the request.
|
RequestBuilder<Req,Res> |
RequestBuilder.method(String method) |
Sets the HTTP method for the request.
|
static <Req,Res> RequestBuilder<Req,Res> |
RequestBuilder.post(String endpoint) |
Creates a POST request builder for the specified endpoint.
|
static <Req,Res> RequestBuilder<Req,Res> |
RequestBuilder.put(String endpoint) |
Creates a PUT request builder for the specified endpoint.
|
RequestBuilder<Req,Res> |
RequestBuilder.queryParam(String name,
String value) |
Adds a single query parameter to the request.
|
RequestBuilder<Req,Res> |
RequestBuilder.queryParams(Map<String,String> queryParams) |
Sets the query parameters for the request.
|
RequestBuilder<Req,Res> |
RequestBuilder.responseType(Class<Res> responseType) |
Sets the expected response type of the request.
|