R - The type of response options.public interface RequestSenderOptions<R extends ResponseOptions<R>>
| Modifier and Type | Method and Description |
|---|---|
R |
delete()
Perform a DELETE request to the statically configured path (by default
http://localhost:8080). |
R |
delete(String path,
Map<String,?> pathParams)
Perform a DELETE request to a
path. |
R |
delete(String path,
Object... pathParams)
Perform a DELETE request to a
path. |
R |
delete(URI uri)
Perform a DELETE request to a
uri. |
R |
delete(URL url)
Perform a DELETE request to a
url. |
R |
get()
Perform a GET request to the statically configured path (by default
http://localhost:8080). |
R |
get(String path,
Map<String,?> pathParams)
Perform a GET request to a
path. |
R |
get(String path,
Object... pathParams)
Perform a GET request to a
path. |
R |
get(URI uri)
Perform a GET request to a
uri. |
R |
get(URL url)
Perform a GET request to a
url. |
R |
head()
Perform a HEAD request to the statically configured path (by default
http://localhost:8080). |
R |
head(String path,
Map<String,?> pathParams)
Perform a HEAD request to a
path. |
R |
head(String path,
Object... pathParams)
Perform a HEAD request to a
path. |
R |
head(URI uri)
Perform a HEAD request to a
uri. |
R |
head(URL url)
Perform a HEAD request to a
url. |
R |
options()
Perform a OPTIONS request to the statically configured path (by default
http://localhost:8080). |
R |
options(String path,
Map<String,?> pathParams)
Perform a OPTIONS request to a
path. |
R |
options(String path,
Object... pathParams)
Perform a OPTIONS request to a
path. |
R |
options(URI uri)
Perform a OPTIONS request to a
uri. |
R |
options(URL url)
Perform a OPTIONS request to a
url. |
R |
patch()
Perform a PATCH request to the statically configured path (by default
http://localhost:8080). |
R |
patch(String path,
Map<String,?> pathParams)
Perform a PATCH request to a
path. |
R |
patch(String path,
Object... pathParams)
Perform a PATCH request to a
path. |
R |
patch(URI uri)
Perform a PATCH request to a
uri. |
R |
patch(URL url)
Perform a PATCH request to a
url. |
R |
post()
Perform a POST request to the statically configured path (by default
http://localhost:8080). |
R |
post(String path,
Map<String,?> pathParams)
Perform a POST request to a
path. |
R |
post(String path,
Object... pathParams)
Perform a POST request to a
path. |
R |
post(URI uri)
Perform a POST request to a
uri. |
R |
post(URL url)
Perform a POST request to a
url. |
R |
put()
Perform a PUT request to the statically configured path (by default
http://localhost:8080). |
R |
put(String path,
Map<String,?> pathParams)
Perform a PUT request to a
path. |
R |
put(String path,
Object... pathParams)
Perform a PUT request to a
path. |
R |
put(URI uri)
Perform a PUT request to a
uri. |
R |
put(URL url)
Perform a PUT request to a
url. |
R |
request(Method method)
Perform a request to the pre-configured path (by default
http://localhost:8080). |
R |
request(Method method,
String path,
Object... pathParams)
Perform a HTTP request to a
path. |
R |
request(Method method,
URI uri)
Perform a request to a
uri. |
R |
request(Method method,
URL url)
Perform a request to a
url. |
R |
request(String method)
Perform a custom HTTP request to the pre-configured path (by default
http://localhost:8080). |
R |
request(String method,
String path,
Object... pathParams)
Perform a custom HTTP request to a
path. |
R |
request(String method,
URI uri)
Perform a custom HTTP request to a
uri. |
R |
request(String method,
URL url)
Perform a custom HTTP request to a
url. |
R get(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do get("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R get(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R post(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do post("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R post(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R put(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do put("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R put(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R delete(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do delete("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R delete(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R head(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do head("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R head(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R patch(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do head("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R patch(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R options(String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do head("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R options(String path, Map<String,?> pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.path - The path to send the request to.pathParams - The path parameters.R get(URI uri)
uri.uri - The uri to send the request to.R post(URI uri)
uri.uri - The uri to send the request to.R put(URI uri)
uri.uri - The uri to send the request to.R delete(URI uri)
uri.uri - The uri to send the request to.R head(URI uri)
uri.uri - The uri to send the request to.R patch(URI uri)
uri.uri - The uri to send the request to.R options(URI uri)
uri.uri - The uri to send the request to.R get(URL url)
url.url - The url to send the request to.R post(URL url)
url.url - The url to send the request to.R put(URL url)
url.url - The url to send the request to.R delete(URL url)
url.url - The url to send the request to.R head(URL url)
url.url - The url to send the request to.R patch(URL url)
url.url - The url to send the request to.R options(URL url)
url.url - The url to send the request to.R get()
http://localhost:8080).R post()
http://localhost:8080).R put()
http://localhost:8080).R delete()
http://localhost:8080).R head()
http://localhost:8080).R patch()
http://localhost:8080).R options()
http://localhost:8080).R request(Method method)
http://localhost:8080).method - The HTTP method to useR request(String method)
http://localhost:8080).method - The HTTP method to useR request(Method method, String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.method - The HTTP method to usepath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do request(Method.TRACE,"/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R request(String method, String path, Object... pathParams)
path. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as http://localhost:8080/path. In this case it's enough to use /path.method - The HTTP method to usepath - The path to send the request to.pathParams - The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do request("method","/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.R request(Method method, URI uri)
uri.method - The HTTP method to useuri - The uri to send the request to.R request(Method method, URL url)
url.method - The HTTP method to useurl - The url to send the request to.R request(String method, URI uri)
uri.method - The HTTP method to useuri - The uri to send the request to.Copyright © 2010–2022. All rights reserved.