Contains a basic abstraction over client/server-side HTTP.
Contains an abstraction over client-side HTTP.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Core package of the client-side web support.

Uses of HttpEntity in org.springframework.http

Modifier and Type
Class
Description
class
Extension of HttpEntity that also exposes the HTTP method and the target URL.
static class
RequestEntity initialized with a URI template and variables instead of a URI .
class
Extension of HttpEntity that adds an HttpStatusCode status code.
Modifier and Type
Field
Description
static final HttpEntity <?>
HttpEntity. EMPTY
An HttpEntity instance with a null body and empty headers .

Uses of HttpEntity in org.springframework.http.client

Methods in org.springframework.http.client that return types with arguments of type HttpEntity
Modifier and Type
Method
Description
MultipartBodyBuilder. build ()
Return a MultiValueMap with the configured parts.

Uses of HttpEntity in org.springframework.http.converter

Modifier and Type
Method
Description
protected HttpEntity <?>
FormHttpMessageConverter. getHttpEntity ( Object part)
Return an HttpEntity for the given part Object.

Uses of HttpEntity in org.springframework.web.client

Methods in org.springframework.web.client with parameters of type HttpEntity
Modifier and Type
Method
Description
RestOperations. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, Class <T> responseType, @Nullable Object ... uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response as ResponseEntity .
RestOperations. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, Class <T> responseType, Map < String , ? extends @Nullable Object > uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response as ResponseEntity .
RestOperations. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, ParameterizedTypeReference <T> responseType, @Nullable Object ... uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response as ResponseEntity .
RestOperations. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, ParameterizedTypeReference <T> responseType, Map < String , ? extends @Nullable Object > uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response as ResponseEntity .
RestOperations. exchange ( URI url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, Class <T> responseType)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response as ResponseEntity .
RestOperations. exchange ( URI url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, ParameterizedTypeReference <T> responseType)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response as ResponseEntity .
RestTemplate. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, Class <T> responseType, @Nullable Object ... uriVariables)
RestTemplate. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, Class <T> responseType, Map < String , ? extends @Nullable Object > uriVariables)
RestTemplate. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, ParameterizedTypeReference <T> responseType, @Nullable Object ... uriVariables)
RestTemplate. exchange ( String url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, ParameterizedTypeReference <T> responseType, Map < String , ? extends @Nullable Object > uriVariables)
RestTemplate. exchange ( URI url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, Class <T> responseType)
RestTemplate. exchange ( URI url, HttpMethod method, @Nullable HttpEntity <?> requestEntity, ParameterizedTypeReference <T> responseType)