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,
URI url)
Create a builder with the given method and url.
|
static RequestEntity.BodyBuilder |
RequestEntity.patch(URI url)
Create an HTTP PATCH builder with the given url.
|
static RequestEntity.BodyBuilder |
RequestEntity.post(URI url)
Create an HTTP POST builder with the given url.
|
static RequestEntity.BodyBuilder |
RequestEntity.put(URI url)
Create an HTTP PUT builder with the given url.
|