Package | Description |
---|---|
org.springframework.web.client |
Core package of the client-side web support.
|
Modifier and Type | Method and Description |
---|---|
protected <T> RequestCallback |
RestTemplate.acceptHeaderRequestCallback(java.lang.Class<T> responseType)
Return a
RequestCallback that sets the request Accept
header based on the given response type, cross-checked against the
configured message converters. |
protected <T> RequestCallback |
RestTemplate.httpEntityCallback(java.lang.Object requestBody)
Return a
RequestCallback implementation that writes the given
object to the request stream. |
protected <T> RequestCallback |
RestTemplate.httpEntityCallback(java.lang.Object requestBody,
java.lang.reflect.Type responseType)
Return a
RequestCallback implementation that:
Sets the request Accept header based on the given response
type, cross-checked against the configured message converters. |
Modifier and Type | Method and Description |
---|---|
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> 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> 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) |