|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestSender
| Method Summary | |
|---|---|
Response |
delete(String path,
Map<String,?> pathParams)
Perform a DELETE request to a path. |
Response |
delete(String path,
Object... pathParams)
Perform a DELETE request to a path. |
Response |
get(String path,
Map<String,?> pathParams)
Perform a GET request to a path. |
Response |
get(String path,
Object... pathParams)
Perform a GET request to a path. |
Response |
head(String path,
Map<String,?> pathParams)
Perform a HEAD request to a path. |
Response |
head(String path,
Object... pathParams)
Perform a HEAD request to a path. |
Response |
post(String path,
Map<String,?> pathParams)
Perform a POST request to a path. |
Response |
post(String path,
Object... pathParams)
Perform a POST request to a path. |
Response |
put(String path,
Map<String,?> pathParams)
Perform a PUT request to a path. |
Response |
put(String path,
Object... pathParams)
Perform a PUT request to a path. |
| Method Detail |
|---|
Response 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);.
Response 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.
Response 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);.
Response 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.
Response 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);.
Response 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.
Response 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);.
Response 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.
Response 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);.
Response 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||