Uses of Class
org.springframework.http.RequestEntity
Package
Description
Contains a basic abstraction over client/server-side HTTP.
Core package of the client-side web support.
-
Uses of RequestEntity in org.springframework.http
Modifier and TypeClassDescriptionstatic class
RequestEntity initialized with a URI template and variables instead of aURI
.Modifier and TypeMethodDescription<T> RequestEntity<T>
RequestEntity.BodyBuilder.body
(T body) Set the body of the request entity and build the RequestEntity.<T> RequestEntity<T>
Set the body and type of the request entity and build the RequestEntity.RequestEntity.HeadersBuilder.build()
Builds the request entity with no body. -
Uses of RequestEntity in org.springframework.web.client
Modifier and TypeMethodDescription<T> ResponseEntity<T>
RestOperations.exchange
(RequestEntity<?> requestEntity, Class<T> responseType) Execute the request specified in the givenRequestEntity
and return the response asResponseEntity
.<T> ResponseEntity<T>
RestOperations.exchange
(RequestEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) Execute the request specified in the givenRequestEntity
and return the response asResponseEntity
.<T> ResponseEntity<T>
RestTemplate.exchange
(RequestEntity<?> entity, Class<T> responseType) <T> ResponseEntity<T>
RestTemplate.exchange
(RequestEntity<?> entity, ParameterizedTypeReference<T> responseType)