Package | Description |
---|---|
org.springframework.web.client |
Core package of the client-side web support.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpClientErrorException
Exception thrown when an HTTP 4xx is received.
|
class |
HttpServerErrorException
Exception thrown when an HTTP 5xx is received.
|
class |
HttpStatusCodeException
Abstract base class for exceptions based on an
HttpStatus . |
class |
ResourceAccessException
Exception thrown when an I/O error occurs.
|
class |
RestClientResponseException
Common base class for exceptions that contain actual HTTP response data.
|
class |
UnknownHttpStatusCodeException
Exception thrown when an unknown (or custom) HTTP status code is received.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtractingResponseErrorHandler.setSeriesMapping(java.util.Map<HttpStatus.Series,java.lang.Class<? extends RestClientException>> seriesMapping)
Set the mapping from HTTP status series to
RestClientException subclass. |
void |
ExtractingResponseErrorHandler.setStatusMapping(java.util.Map<HttpStatus,java.lang.Class<? extends RestClientException>> statusMapping)
Set the mapping from HTTP status code to
RestClientException subclass. |
Modifier and Type | Method and Description |
---|---|
void |
RestOperations.delete(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Delete the resources at the specified URI.
|
void |
RestTemplate.delete(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables) |
ListenableFuture<?> |
AsyncRestTemplate.delete(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.delete(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously delete the resources at the specified URI.
|
void |
RestOperations.delete(java.lang.String url,
java.lang.Object... uriVariables)
Delete the resources at the specified URI.
|
void |
RestTemplate.delete(java.lang.String url,
java.lang.Object... uriVariables) |
ListenableFuture<?> |
AsyncRestTemplate.delete(java.lang.String url,
java.lang.Object... uriVariables)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.delete(java.lang.String url,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously delete the resources at the specified URI.
|
void |
RestOperations.delete(java.net.URI url)
Delete the resources at the specified URL.
|
void |
RestTemplate.delete(java.net.URI url) |
ListenableFuture<?> |
AsyncRestTemplate.delete(java.net.URI url)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.delete(java.net.URI url)
Deprecated.
Asynchronously delete the resources at the specified URI.
|
protected <T> ListenableFuture<T> |
AsyncRestTemplate.doExecute(java.net.URI url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Deprecated.
Execute the given method on the provided URI.
|
protected <T> T |
RestTemplate.doExecute(java.net.URI url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Execute the given method on the provided URI.
|
<T> ResponseEntity<T> |
RestOperations.exchange(RequestEntity<?> requestEntity,
java.lang.Class<T> responseType)
Execute the request specified in the given
RequestEntity and return
the response as ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(RequestEntity<?> requestEntity,
java.lang.Class<T> responseType) |
<T> ResponseEntity<T> |
RestOperations.exchange(RequestEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType)
Execute the request specified in the given
RequestEntity and return
the response as ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(RequestEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType) |
<T> ResponseEntity<T> |
RestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, writing the
given request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, writing the
given request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Execute the HTTP method to the given URI template, writing the given
request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, writing the given
request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.lang.Object... uriVariables)
Execute the HTTP method to the given URI template, writing the given
request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.lang.Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(java.lang.String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, writing the given
request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType)
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
java.lang.Class<T> responseType)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, writing the
given request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType)
Execute the HTTP method to the given URI template, writing the given
request entity to the request, and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(java.net.URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, writing the given
request entity to the request, and returns the response as
ResponseEntity . |
<T> ListenableFuture<T> |
AsyncRestTemplate.execute(java.lang.String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<T> |
AsyncRestOperations.execute(java.lang.String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, preparing the
request with the
AsyncRequestCallback , and reading the response with a
ResponseExtractor . |
<T> ListenableFuture<T> |
AsyncRestTemplate.execute(java.lang.String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.lang.Object... uriVariables)
Deprecated.
|
<T> ListenableFuture<T> |
AsyncRestOperations.execute(java.lang.String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously execute the HTTP method to the given URI template, preparing the
request with the
AsyncRequestCallback , and reading the response with a
ResponseExtractor . |
<T> T |
RestOperations.execute(java.lang.String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.util.Map<java.lang.String,?> uriVariables)
Execute the HTTP method to the given URI template, preparing the request with the
RequestCallback , and reading the response with a ResponseExtractor . |
<T> T |
RestTemplate.execute(java.lang.String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.util.Map<java.lang.String,?> uriVariables) |
<T> T |
RestOperations.execute(java.lang.String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.lang.Object... uriVariables)
Execute the HTTP method to the given URI template, preparing the request with the
RequestCallback , and reading the response with a ResponseExtractor . |
<T> T |
RestTemplate.execute(java.lang.String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
java.lang.Object... uriVariables) |
<T> ListenableFuture<T> |
AsyncRestTemplate.execute(java.net.URI url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Deprecated.
|
<T> ListenableFuture<T> |
AsyncRestOperations.execute(java.net.URI url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Deprecated.
Asynchronously execute the HTTP method to the given URL, preparing the request
with the
AsyncRequestCallback , and reading the response with a
ResponseExtractor . |
<T> T |
RestOperations.execute(java.net.URI url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Execute the HTTP method to the given URL, preparing the request with the
RequestCallback , and reading the response with a ResponseExtractor . |
<T> T |
RestTemplate.execute(java.net.URI url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor) |
<T> ResponseEntity<T> |
RestOperations.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Retrieve a representation by doing a GET on the URI template.
|
<T> ResponseEntity<T> |
RestTemplate.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously retrieve a representation by doing a GET on the URI template.
|
<T> ResponseEntity<T> |
RestOperations.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Retrieve an entity by doing a GET on the specified URL.
|
<T> ResponseEntity<T> |
RestTemplate.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.getForEntity(java.lang.String url,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously retrieve an entity by doing a GET on the specified URL.
|
<T> ResponseEntity<T> |
RestOperations.getForEntity(java.net.URI url,
java.lang.Class<T> responseType)
Retrieve a representation by doing a GET on the URL .
|
<T> ResponseEntity<T> |
RestTemplate.getForEntity(java.net.URI url,
java.lang.Class<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.getForEntity(java.net.URI url,
java.lang.Class<T> responseType)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.getForEntity(java.net.URI url,
java.lang.Class<T> responseType)
Deprecated.
Asynchronously retrieve a representation by doing a GET on the URL.
|
<T> T |
RestOperations.getForObject(java.lang.String url,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Retrieve a representation by doing a GET on the URI template.
|
<T> T |
RestTemplate.getForObject(java.lang.String url,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> T |
RestOperations.getForObject(java.lang.String url,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Retrieve a representation by doing a GET on the specified URL.
|
<T> T |
RestTemplate.getForObject(java.lang.String url,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables) |
<T> T |
RestOperations.getForObject(java.net.URI url,
java.lang.Class<T> responseType)
Retrieve a representation by doing a GET on the URL .
|
<T> T |
RestTemplate.getForObject(java.net.URI url,
java.lang.Class<T> responseType) |
HttpHeaders |
RestOperations.headForHeaders(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Retrieve all headers of the resource specified by the URI template.
|
HttpHeaders |
RestTemplate.headForHeaders(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables) |
ListenableFuture<HttpHeaders> |
AsyncRestTemplate.headForHeaders(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
ListenableFuture<HttpHeaders> |
AsyncRestOperations.headForHeaders(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously retrieve all headers of the resource specified by the URI template.
|
HttpHeaders |
RestOperations.headForHeaders(java.lang.String url,
java.lang.Object... uriVariables)
Retrieve all headers of the resource specified by the URI template.
|
HttpHeaders |
RestTemplate.headForHeaders(java.lang.String url,
java.lang.Object... uriVariables) |
ListenableFuture<HttpHeaders> |
AsyncRestTemplate.headForHeaders(java.lang.String url,
java.lang.Object... uriVariables)
Deprecated.
|
ListenableFuture<HttpHeaders> |
AsyncRestOperations.headForHeaders(java.lang.String url,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously retrieve all headers of the resource specified by the URI template.
|
HttpHeaders |
RestOperations.headForHeaders(java.net.URI url)
Retrieve all headers of the resource specified by the URL.
|
HttpHeaders |
RestTemplate.headForHeaders(java.net.URI url) |
ListenableFuture<HttpHeaders> |
AsyncRestTemplate.headForHeaders(java.net.URI url)
Deprecated.
|
ListenableFuture<HttpHeaders> |
AsyncRestOperations.headForHeaders(java.net.URI url)
Deprecated.
Asynchronously retrieve all headers of the resource specified by the URL.
|
java.util.Set<HttpMethod> |
RestOperations.optionsForAllow(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Return the value of the Allow header for the given URI.
|
java.util.Set<HttpMethod> |
RestTemplate.optionsForAllow(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables) |
ListenableFuture<java.util.Set<HttpMethod>> |
AsyncRestTemplate.optionsForAllow(java.lang.String url,
java.util.Map<java.lang.String,?> uriVars)
Deprecated.
|
ListenableFuture<java.util.Set<HttpMethod>> |
AsyncRestOperations.optionsForAllow(java.lang.String url,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Asynchronously return the value of the Allow header for the given URI.
|
java.util.Set<HttpMethod> |
RestOperations.optionsForAllow(java.lang.String url,
java.lang.Object... uriVariables)
Return the value of the Allow header for the given URI.
|
java.util.Set<HttpMethod> |
RestTemplate.optionsForAllow(java.lang.String url,
java.lang.Object... uriVariables) |
ListenableFuture<java.util.Set<HttpMethod>> |
AsyncRestTemplate.optionsForAllow(java.lang.String url,
java.lang.Object... uriVars)
Deprecated.
|
ListenableFuture<java.util.Set<HttpMethod>> |
AsyncRestOperations.optionsForAllow(java.lang.String url,
java.lang.Object... uriVariables)
Deprecated.
Asynchronously return the value of the Allow header for the given URI.
|
java.util.Set<HttpMethod> |
RestOperations.optionsForAllow(java.net.URI url)
Return the value of the Allow header for the given URL.
|
java.util.Set<HttpMethod> |
RestTemplate.optionsForAllow(java.net.URI url) |
ListenableFuture<java.util.Set<HttpMethod>> |
AsyncRestTemplate.optionsForAllow(java.net.URI url)
Deprecated.
|
ListenableFuture<java.util.Set<HttpMethod>> |
AsyncRestOperations.optionsForAllow(java.net.URI url)
Deprecated.
Asynchronously return the value of the Allow header for the given URL.
|
<T> T |
RestOperations.patchForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Update a resource by PATCHing the given object to the URI template,
and return the representation found in the response.
|
<T> T |
RestTemplate.patchForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> T |
RestOperations.patchForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Update a resource by PATCHing the given object to the URI template,
and return the representation found in the response.
|
<T> T |
RestTemplate.patchForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables) |
<T> T |
RestOperations.patchForObject(java.net.URI url,
java.lang.Object request,
java.lang.Class<T> responseType)
Update a resource by PATCHing the given object to the URL,
and return the representation found in the response.
|
<T> T |
RestTemplate.patchForObject(java.net.URI url,
java.lang.Object request,
java.lang.Class<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.postForEntity(java.lang.String url,
HttpEntity<?> request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.postForEntity(java.lang.String url,
HttpEntity<?> request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Create a new resource by POSTing the given object to the URI template,
and asynchronously returns the response as
ResponseEntity . |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.postForEntity(java.lang.String url,
HttpEntity<?> request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.postForEntity(java.lang.String url,
HttpEntity<?> request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Deprecated.
Create a new resource by POSTing the given object to the URI template,
and asynchronously returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.postForEntity(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template,
and returns the response as
HttpEntity . |
<T> ResponseEntity<T> |
RestTemplate.postForEntity(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> ResponseEntity<T> |
RestOperations.postForEntity(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Create a new resource by POSTing the given object to the URI template,
and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.postForEntity(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.postForEntity(java.net.URI url,
HttpEntity<?> request,
java.lang.Class<T> responseType)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.postForEntity(java.net.URI url,
HttpEntity<?> request,
java.lang.Class<T> responseType)
Deprecated.
Create a new resource by POSTing the given object to the URL,
and asynchronously returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestOperations.postForEntity(java.net.URI url,
java.lang.Object request,
java.lang.Class<T> responseType)
Create a new resource by POSTing the given object to the URL,
and returns the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.postForEntity(java.net.URI url,
java.lang.Object request,
java.lang.Class<T> responseType) |
ListenableFuture<java.net.URI> |
AsyncRestTemplate.postForLocation(java.lang.String url,
HttpEntity<?> request,
java.util.Map<java.lang.String,?> uriVars)
Deprecated.
|
ListenableFuture<java.net.URI> |
AsyncRestOperations.postForLocation(java.lang.String url,
HttpEntity<?> request,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Create a new resource by POSTing the given object to the URI template, and
asynchronously returns the value of the
Location header. |
ListenableFuture<java.net.URI> |
AsyncRestTemplate.postForLocation(java.lang.String url,
HttpEntity<?> request,
java.lang.Object... uriVars)
Deprecated.
|
ListenableFuture<java.net.URI> |
AsyncRestOperations.postForLocation(java.lang.String url,
HttpEntity<?> request,
java.lang.Object... uriVariables)
Deprecated.
Create a new resource by POSTing the given object to the URI template, and
asynchronously returns the value of the
Location header. |
java.net.URI |
RestOperations.postForLocation(java.lang.String url,
java.lang.Object request,
java.util.Map<java.lang.String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template, and returns the value of
the
Location header. |
java.net.URI |
RestTemplate.postForLocation(java.lang.String url,
java.lang.Object request,
java.util.Map<java.lang.String,?> uriVariables) |
java.net.URI |
RestOperations.postForLocation(java.lang.String url,
java.lang.Object request,
java.lang.Object... uriVariables)
Create a new resource by POSTing the given object to the URI template, and returns the value of
the
Location header. |
java.net.URI |
RestTemplate.postForLocation(java.lang.String url,
java.lang.Object request,
java.lang.Object... uriVariables) |
ListenableFuture<java.net.URI> |
AsyncRestTemplate.postForLocation(java.net.URI url,
HttpEntity<?> request)
Deprecated.
|
ListenableFuture<java.net.URI> |
AsyncRestOperations.postForLocation(java.net.URI url,
HttpEntity<?> request)
Deprecated.
Create a new resource by POSTing the given object to the URL, and asynchronously
returns the value of the
Location header. |
java.net.URI |
RestOperations.postForLocation(java.net.URI url,
java.lang.Object request)
Create a new resource by POSTing the given object to the URL, and returns the value of the
Location header. |
java.net.URI |
RestTemplate.postForLocation(java.net.URI url,
java.lang.Object request) |
<T> T |
RestOperations.postForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template,
and returns the representation found in the response.
|
<T> T |
RestTemplate.postForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,?> uriVariables) |
<T> T |
RestOperations.postForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables)
Create a new resource by POSTing the given object to the URI template,
and returns the representation found in the response.
|
<T> T |
RestTemplate.postForObject(java.lang.String url,
java.lang.Object request,
java.lang.Class<T> responseType,
java.lang.Object... uriVariables) |
<T> T |
RestOperations.postForObject(java.net.URI url,
java.lang.Object request,
java.lang.Class<T> responseType)
Create a new resource by POSTing the given object to the URL,
and returns the representation found in the response.
|
<T> T |
RestTemplate.postForObject(java.net.URI url,
java.lang.Object request,
java.lang.Class<T> responseType) |
ListenableFuture<?> |
AsyncRestTemplate.put(java.lang.String url,
HttpEntity<?> request,
java.util.Map<java.lang.String,?> uriVars)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.put(java.lang.String url,
HttpEntity<?> request,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
Creates a new resource by PUTting the given object to URI template.
|
ListenableFuture<?> |
AsyncRestTemplate.put(java.lang.String url,
HttpEntity<?> request,
java.lang.Object... uriVars)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.put(java.lang.String url,
HttpEntity<?> request,
java.lang.Object... uriVariables)
Deprecated.
Create or update a resource by PUTting the given object to the URI.
|
void |
RestOperations.put(java.lang.String url,
java.lang.Object request,
java.util.Map<java.lang.String,?> uriVariables)
Creates a new resource by PUTting the given object to URI template.
|
void |
RestTemplate.put(java.lang.String url,
java.lang.Object request,
java.util.Map<java.lang.String,?> uriVariables) |
void |
RestOperations.put(java.lang.String url,
java.lang.Object request,
java.lang.Object... uriVariables)
Create or update a resource by PUTting the given object to the URI.
|
void |
RestTemplate.put(java.lang.String url,
java.lang.Object request,
java.lang.Object... uriVariables) |
ListenableFuture<?> |
AsyncRestTemplate.put(java.net.URI url,
HttpEntity<?> request)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.put(java.net.URI url,
HttpEntity<?> request)
Deprecated.
Creates a new resource by PUTting the given object to URL.
|
void |
RestOperations.put(java.net.URI url,
java.lang.Object request)
Creates a new resource by PUTting the given object to URL.
|
void |
RestTemplate.put(java.net.URI url,
java.lang.Object request) |