Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
Modifier and Type | Method and Description |
---|---|
RequestEntity.BodyBuilder |
RequestEntity.BodyBuilder.contentLength(long contentLength)
Set the length of the body in bytes, as specified by the
Content-Length header. |
RequestEntity.BodyBuilder |
RequestEntity.BodyBuilder.contentType(MediaType contentType)
Set the media type of the body, as specified
by the
Content-Type header. |
static RequestEntity.BodyBuilder |
RequestEntity.method(HttpMethod method,
String uriTemplate,
Map<String,?> uriVariables)
Create a builder with the given HTTP method, URI template, and variables.
|
static RequestEntity.BodyBuilder |
RequestEntity.method(HttpMethod method,
String uriTemplate,
Object... uriVariables)
Create a builder with the given HTTP method, URI template, and variables.
|
static RequestEntity.BodyBuilder |
RequestEntity.method(HttpMethod method,
URI url)
Create a builder with the given method and url.
|
static RequestEntity.BodyBuilder |
RequestEntity.patch(String uriTemplate,
Object... uriVariables)
Create an HTTP PATCH builder with the given string base uri template.
|
static RequestEntity.BodyBuilder |
RequestEntity.patch(URI url)
Create an HTTP PATCH builder with the given url.
|
static RequestEntity.BodyBuilder |
RequestEntity.post(String uriTemplate,
Object... uriVariables)
Create an HTTP POST builder with the given string base uri template.
|
static RequestEntity.BodyBuilder |
RequestEntity.post(URI url)
Create an HTTP POST builder with the given url.
|
static RequestEntity.BodyBuilder |
RequestEntity.put(String uriTemplate,
Object... uriVariables)
Create an HTTP PUT builder with the given string base uri template.
|
static RequestEntity.BodyBuilder |
RequestEntity.put(URI url)
Create an HTTP PUT builder with the given url.
|