Uses of Interface
org.springframework.http.RequestEntity.BodyBuilder
Package
Description
Contains a basic abstraction over client/server-side HTTP.
-
Uses of RequestEntity.BodyBuilder in org.springframework.http
Modifier and TypeMethodDescriptionRequestEntity.BodyBuilder.contentLength
(long contentLength) Set the length of the body in bytes, as specified by theContent-Length
header.RequestEntity.BodyBuilder.contentType
(MediaType contentType) Set the media type of the body, as specified by theContent-Type
header.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, String uriTemplate, Map<String, ?> 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
Create an HTTP PATCH builder with the given string base uri template.static RequestEntity.BodyBuilder
Create an HTTP PATCH builder with the given url.static RequestEntity.BodyBuilder
Create an HTTP POST builder with the given string base uri template.static RequestEntity.BodyBuilder
Create an HTTP POST builder with the given url.static RequestEntity.BodyBuilder
Create an HTTP PUT builder with the given string base uri template.static RequestEntity.BodyBuilder
Create an HTTP PUT builder with the given url.