public class Rest extends Object
Constructor and Description |
---|
Rest() |
Modifier and Type | Method and Description |
---|---|
static RequestBuilder |
delete(String url)
Creates a DELETE request builder
|
static RequestBuilder |
get(String url)
Creates a GET request builder
|
static RequestBuilder |
head(String url)
Creates a HEAD request builder
|
static RequestBuilder |
options(String url)
Creates a OPTIONS request builder
|
static RequestBuilder |
patch(String url)
Creates a PATCH request builder
|
static RequestBuilder |
post(String url)
Creates a POST request builder
|
static RequestBuilder |
put(String url)
Creates a PUT request builder
|
public static RequestBuilder get(String url)
url
- The request URLpublic static RequestBuilder head(String url)
url
- The request URLpublic static RequestBuilder patch(String url)
url
- The request URLpublic static RequestBuilder options(String url)
url
- The request URLpublic static RequestBuilder post(String url)
url
- The request URLpublic static RequestBuilder delete(String url)
url
- The request URLpublic static RequestBuilder put(String url)
url
- The request URL