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