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