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.
|
static class |
HttpClientErrorException.BadRequest
HttpClientErrorException for status HTTP 400 Bad Request. |
static class |
HttpClientErrorException.Conflict
HttpClientErrorException for status HTTP 409 Conflict. |
static class |
HttpClientErrorException.Forbidden
HttpClientErrorException for status HTTP 403 Forbidden. |
static class |
HttpClientErrorException.Gone
HttpClientErrorException for status HTTP 410 Gone. |
static class |
HttpClientErrorException.MethodNotAllowed
HttpClientErrorException for status HTTP 405 Method Not Allowed. |
static class |
HttpClientErrorException.NotAcceptable
HttpClientErrorException for status HTTP 406 Not Acceptable. |
static class |
HttpClientErrorException.NotFound
HttpClientErrorException for status HTTP 404 Not Found. |
static class |
HttpClientErrorException.TooManyRequests
HttpClientErrorException for status HTTP 429 Too Many Requests. |
static class |
HttpClientErrorException.Unauthorized
HttpClientErrorException for status HTTP 401 Unauthorized. |
static class |
HttpClientErrorException.UnprocessableEntity
HttpClientErrorException for status HTTP 422 Unprocessable Entity. |
static class |
HttpClientErrorException.UnsupportedMediaType
HttpClientErrorException for status HTTP 415 Unsupported Media Type. |
class |
HttpServerErrorException
Exception thrown when an HTTP 5xx is received.
|
static class |
HttpServerErrorException.BadGateway
HttpServerErrorException for HTTP status 502 Bad Gateway. |
static class |
HttpServerErrorException.GatewayTimeout
HttpServerErrorException for status HTTP 504 Gateway Timeout. |
static class |
HttpServerErrorException.InternalServerError
HttpServerErrorException for status HTTP 500 Internal Server Error. |
static class |
HttpServerErrorException.NotImplemented
HttpServerErrorException for status HTTP 501 Not Implemented. |
static class |
HttpServerErrorException.ServiceUnavailable
HttpServerErrorException for status HTTP 503 Service Unavailable. |
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 |
UnknownContentTypeException
Raised when no suitable
HttpMessageConverter could be
found to extract the response. |
class |
UnknownHttpStatusCodeException
Exception thrown when an unknown (or custom) HTTP status code is received.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtractingResponseErrorHandler.setSeriesMapping(Map<HttpStatus.Series,Class<? extends RestClientException>> seriesMapping)
Set the mapping from HTTP status series to
RestClientException subclass. |
void |
ExtractingResponseErrorHandler.setStatusMapping(Map<HttpStatus,Class<? extends RestClientException>> statusMapping)
Set the mapping from HTTP status code to
RestClientException subclass. |
Modifier and Type | Method and Description |
---|---|
void |
RestOperations.delete(String url,
Map<String,?> uriVariables)
Delete the resources at the specified URI.
|
void |
RestTemplate.delete(String url,
Map<String,?> uriVariables) |
ListenableFuture<?> |
AsyncRestOperations.delete(String url,
Map<String,?> uriVariables)
Deprecated.
Asynchronously delete the resources at the specified URI.
|
ListenableFuture<?> |
AsyncRestTemplate.delete(String url,
Map<String,?> uriVariables)
Deprecated.
|
void |
RestOperations.delete(String url,
Object... uriVariables)
Delete the resources at the specified URI.
|
void |
RestTemplate.delete(String url,
Object... uriVariables) |
ListenableFuture<?> |
AsyncRestOperations.delete(String url,
Object... uriVariables)
Deprecated.
Asynchronously delete the resources at the specified URI.
|
ListenableFuture<?> |
AsyncRestTemplate.delete(String url,
Object... uriVariables)
Deprecated.
|
void |
RestOperations.delete(URI url)
Delete the resources at the specified URL.
|
void |
RestTemplate.delete(URI url) |
ListenableFuture<?> |
AsyncRestOperations.delete(URI url)
Deprecated.
Asynchronously delete the resources at the specified URI.
|
ListenableFuture<?> |
AsyncRestTemplate.delete(URI url)
Deprecated.
|
protected <T> ListenableFuture<T> |
AsyncRestTemplate.doExecute(URI url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Deprecated.
Execute the given method on the provided URI.
|
protected <T> T |
RestTemplate.doExecute(URI url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Execute the given method on the provided URI.
|
<T> ResponseEntity<T> |
RestOperations.exchange(RequestEntity<?> requestEntity,
Class<T> responseType)
Execute the request specified in the given
RequestEntity and return
the response as ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(RequestEntity<?> entity,
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<?> entity,
ParameterizedTypeReference<T> responseType) |
<T> ResponseEntity<T> |
RestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
Map<String,?> uriVariables)
Execute the HTTP method to the given URI template, writing the given request entity to the request,
and return the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
Map<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> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
Map<String,?> uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
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 . |
<T> ResponseEntity<T> |
RestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
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> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType,
Object... uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
Map<String,?> uriVariables)
Execute the HTTP method to the given URI template, writing the given
request entity to the request, and return the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
Map<String,?> uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
Map<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> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
Map<String,?> uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
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 . |
<T> ResponseEntity<T> |
RestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
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> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(String url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType,
Object... uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.exchange(URI url,
HttpMethod method,
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 . |
<T> ResponseEntity<T> |
RestTemplate.exchange(URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
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> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.exchange(URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
Class<T> responseType)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.exchange(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 return the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.exchange(URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.exchange(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<ResponseEntity<T>> |
AsyncRestTemplate.exchange(URI url,
HttpMethod method,
HttpEntity<?> requestEntity,
ParameterizedTypeReference<T> responseType)
Deprecated.
|
<T> ListenableFuture<T> |
AsyncRestOperations.execute(String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
Map<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(String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
Map<String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<T> |
AsyncRestOperations.execute(String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
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> ListenableFuture<T> |
AsyncRestTemplate.execute(String url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
Object... uriVariables)
Deprecated.
|
<T> T |
RestOperations.execute(String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
Map<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(String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
Map<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 |
RestOperations.execute(String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
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(String url,
HttpMethod method,
RequestCallback requestCallback,
ResponseExtractor<T> responseExtractor,
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> ListenableFuture<T> |
AsyncRestOperations.execute(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> ListenableFuture<T> |
AsyncRestTemplate.execute(URI url,
HttpMethod method,
AsyncRequestCallback requestCallback,
ResponseExtractor<T> responseExtractor)
Deprecated.
|
<T> T |
RestOperations.execute(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(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> ResponseEntity<T> |
RestOperations.getForEntity(String url,
Class<T> responseType,
Map<String,?> uriVariables)
Retrieve a representation by doing a GET on the URI template.
|
<T> ResponseEntity<T> |
RestTemplate.getForEntity(String url,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.getForEntity(String url,
Class<T> responseType,
Map<String,?> uriVariables)
Deprecated.
Asynchronously retrieve a representation by doing a GET on the URI template.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.getForEntity(String url,
Class<T> responseType,
Map<String,?> uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.getForEntity(String url,
Class<T> responseType,
Object... uriVariables)
Retrieve an entity by doing a GET on the specified URL.
|
<T> ResponseEntity<T> |
RestTemplate.getForEntity(String url,
Class<T> responseType,
Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.getForEntity(String url,
Class<T> responseType,
Object... uriVariables)
Deprecated.
Asynchronously retrieve an entity by doing a GET on the specified URL.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.getForEntity(String url,
Class<T> responseType,
Object... uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.getForEntity(URI url,
Class<T> responseType)
Retrieve a representation by doing a GET on the URL.
|
<T> ResponseEntity<T> |
RestTemplate.getForEntity(URI url,
Class<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.getForEntity(URI url,
Class<T> responseType)
Deprecated.
Asynchronously retrieve a representation by doing a GET on the URL.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.getForEntity(URI url,
Class<T> responseType)
Deprecated.
|
<T> T |
RestOperations.getForObject(String url,
Class<T> responseType,
Map<String,?> uriVariables)
Retrieve a representation by doing a GET on the URI template.
|
<T> T |
RestTemplate.getForObject(String url,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> T |
RestOperations.getForObject(String url,
Class<T> responseType,
Object... uriVariables)
Retrieve a representation by doing a GET on the specified URL.
|
<T> T |
RestTemplate.getForObject(String url,
Class<T> responseType,
Object... uriVariables) |
<T> T |
RestOperations.getForObject(URI url,
Class<T> responseType)
Retrieve a representation by doing a GET on the URL.
|
<T> T |
RestTemplate.getForObject(URI url,
Class<T> responseType) |
HttpHeaders |
RestOperations.headForHeaders(String url,
Map<String,?> uriVariables)
Retrieve all headers of the resource specified by the URI template.
|
HttpHeaders |
RestTemplate.headForHeaders(String url,
Map<String,?> uriVariables) |
ListenableFuture<HttpHeaders> |
AsyncRestOperations.headForHeaders(String url,
Map<String,?> uriVariables)
Deprecated.
Asynchronously retrieve all headers of the resource specified by the URI template.
|
ListenableFuture<HttpHeaders> |
AsyncRestTemplate.headForHeaders(String url,
Map<String,?> uriVariables)
Deprecated.
|
HttpHeaders |
RestOperations.headForHeaders(String url,
Object... uriVariables)
Retrieve all headers of the resource specified by the URI template.
|
HttpHeaders |
RestTemplate.headForHeaders(String url,
Object... uriVariables) |
ListenableFuture<HttpHeaders> |
AsyncRestOperations.headForHeaders(String url,
Object... uriVariables)
Deprecated.
Asynchronously retrieve all headers of the resource specified by the URI template.
|
ListenableFuture<HttpHeaders> |
AsyncRestTemplate.headForHeaders(String url,
Object... uriVariables)
Deprecated.
|
HttpHeaders |
RestOperations.headForHeaders(URI url)
Retrieve all headers of the resource specified by the URL.
|
HttpHeaders |
RestTemplate.headForHeaders(URI url) |
ListenableFuture<HttpHeaders> |
AsyncRestOperations.headForHeaders(URI url)
Deprecated.
Asynchronously retrieve all headers of the resource specified by the URL.
|
ListenableFuture<HttpHeaders> |
AsyncRestTemplate.headForHeaders(URI url)
Deprecated.
|
Set<HttpMethod> |
RestOperations.optionsForAllow(String url,
Map<String,?> uriVariables)
Return the value of the
Allow header for the given URI. |
Set<HttpMethod> |
RestTemplate.optionsForAllow(String url,
Map<String,?> uriVariables) |
ListenableFuture<Set<HttpMethod>> |
AsyncRestOperations.optionsForAllow(String url,
Map<String,?> uriVariables)
Deprecated.
Asynchronously return the value of the Allow header for the given URI.
|
ListenableFuture<Set<HttpMethod>> |
AsyncRestTemplate.optionsForAllow(String url,
Map<String,?> uriVars)
Deprecated.
|
Set<HttpMethod> |
RestOperations.optionsForAllow(String url,
Object... uriVariables)
Return the value of the
Allow header for the given URI. |
Set<HttpMethod> |
RestTemplate.optionsForAllow(String url,
Object... uriVariables) |
ListenableFuture<Set<HttpMethod>> |
AsyncRestOperations.optionsForAllow(String url,
Object... uriVariables)
Deprecated.
Asynchronously return the value of the Allow header for the given URI.
|
ListenableFuture<Set<HttpMethod>> |
AsyncRestTemplate.optionsForAllow(String url,
Object... uriVars)
Deprecated.
|
Set<HttpMethod> |
RestOperations.optionsForAllow(URI url)
Return the value of the
Allow header for the given URL. |
Set<HttpMethod> |
RestTemplate.optionsForAllow(URI url) |
ListenableFuture<Set<HttpMethod>> |
AsyncRestOperations.optionsForAllow(URI url)
Deprecated.
Asynchronously return the value of the Allow header for the given URL.
|
ListenableFuture<Set<HttpMethod>> |
AsyncRestTemplate.optionsForAllow(URI url)
Deprecated.
|
<T> T |
RestOperations.patchForObject(String url,
Object request,
Class<T> responseType,
Map<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(String url,
Object request,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> T |
RestOperations.patchForObject(String url,
Object request,
Class<T> responseType,
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(String url,
Object request,
Class<T> responseType,
Object... uriVariables) |
<T> T |
RestOperations.patchForObject(URI url,
Object request,
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(URI url,
Object request,
Class<T> responseType) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.postForEntity(String url,
HttpEntity<?> request,
Class<T> responseType,
Map<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(String url,
HttpEntity<?> request,
Class<T> responseType,
Map<String,?> uriVariables)
Deprecated.
|
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.postForEntity(String url,
HttpEntity<?> request,
Class<T> responseType,
Object... 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(String url,
HttpEntity<?> request,
Class<T> responseType,
Object... uriVariables)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.postForEntity(String url,
Object request,
Class<T> responseType,
Map<String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template,
and return the response as
HttpEntity . |
<T> ResponseEntity<T> |
RestTemplate.postForEntity(String url,
Object request,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> ResponseEntity<T> |
RestOperations.postForEntity(String url,
Object request,
Class<T> responseType,
Object... uriVariables)
Create a new resource by POSTing the given object to the URI template,
and return the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.postForEntity(String url,
Object request,
Class<T> responseType,
Object... uriVariables) |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestOperations.postForEntity(URI url,
HttpEntity<?> request,
Class<T> responseType)
Deprecated.
Create a new resource by POSTing the given object to the URL,
and asynchronously returns the response as
ResponseEntity . |
<T> ListenableFuture<ResponseEntity<T>> |
AsyncRestTemplate.postForEntity(URI url,
HttpEntity<?> request,
Class<T> responseType)
Deprecated.
|
<T> ResponseEntity<T> |
RestOperations.postForEntity(URI url,
Object request,
Class<T> responseType)
Create a new resource by POSTing the given object to the URL,
and return the response as
ResponseEntity . |
<T> ResponseEntity<T> |
RestTemplate.postForEntity(URI url,
Object request,
Class<T> responseType) |
ListenableFuture<URI> |
AsyncRestOperations.postForLocation(String url,
HttpEntity<?> request,
Map<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<URI> |
AsyncRestTemplate.postForLocation(String url,
HttpEntity<?> request,
Map<String,?> uriVars)
Deprecated.
|
ListenableFuture<URI> |
AsyncRestOperations.postForLocation(String url,
HttpEntity<?> request,
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. |
ListenableFuture<URI> |
AsyncRestTemplate.postForLocation(String url,
HttpEntity<?> request,
Object... uriVars)
Deprecated.
|
URI |
RestOperations.postForLocation(String url,
Object request,
Map<String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template, and return the value of
the
Location header. |
URI |
RestTemplate.postForLocation(String url,
Object request,
Map<String,?> uriVariables) |
URI |
RestOperations.postForLocation(String url,
Object request,
Object... uriVariables)
Create a new resource by POSTing the given object to the URI template, and return the value of
the
Location header. |
URI |
RestTemplate.postForLocation(String url,
Object request,
Object... uriVariables) |
ListenableFuture<URI> |
AsyncRestOperations.postForLocation(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. |
ListenableFuture<URI> |
AsyncRestTemplate.postForLocation(URI url,
HttpEntity<?> request)
Deprecated.
|
URI |
RestOperations.postForLocation(URI url,
Object request)
Create a new resource by POSTing the given object to the URL, and return the value of the
Location header. |
URI |
RestTemplate.postForLocation(URI url,
Object request) |
<T> T |
RestOperations.postForObject(String url,
Object request,
Class<T> responseType,
Map<String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template,
and return the representation found in the response.
|
<T> T |
RestTemplate.postForObject(String url,
Object request,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> T |
RestOperations.postForObject(String url,
Object request,
Class<T> responseType,
Object... uriVariables)
Create a new resource by POSTing the given object to the URI template,
and return the representation found in the response.
|
<T> T |
RestTemplate.postForObject(String url,
Object request,
Class<T> responseType,
Object... uriVariables) |
<T> T |
RestOperations.postForObject(URI url,
Object request,
Class<T> responseType)
Create a new resource by POSTing the given object to the URL,
and return the representation found in the response.
|
<T> T |
RestTemplate.postForObject(URI url,
Object request,
Class<T> responseType) |
ListenableFuture<?> |
AsyncRestOperations.put(String url,
HttpEntity<?> request,
Map<String,?> uriVariables)
Deprecated.
Creates a new resource by PUTting the given object to URI template.
|
ListenableFuture<?> |
AsyncRestTemplate.put(String url,
HttpEntity<?> request,
Map<String,?> uriVars)
Deprecated.
|
ListenableFuture<?> |
AsyncRestOperations.put(String url,
HttpEntity<?> request,
Object... uriVariables)
Deprecated.
Create or update a resource by PUTting the given object to the URI.
|
ListenableFuture<?> |
AsyncRestTemplate.put(String url,
HttpEntity<?> request,
Object... uriVars)
Deprecated.
|
void |
RestOperations.put(String url,
Object request,
Map<String,?> uriVariables)
Creates a new resource by PUTting the given object to URI template.
|
void |
RestTemplate.put(String url,
Object request,
Map<String,?> uriVariables) |
void |
RestOperations.put(String url,
Object request,
Object... uriVariables)
Create or update a resource by PUTting the given object to the URI.
|
void |
RestTemplate.put(String url,
Object request,
Object... uriVariables) |
ListenableFuture<?> |
AsyncRestOperations.put(URI url,
HttpEntity<?> request)
Deprecated.
Creates a new resource by PUTting the given object to URL.
|
ListenableFuture<?> |
AsyncRestTemplate.put(URI url,
HttpEntity<?> request)
Deprecated.
|
void |
RestOperations.put(URI url,
Object request)
Creates a new resource by PUTting the given object to URL.
|
void |
RestTemplate.put(URI url,
Object request) |