| Constructor and Description |
|---|
AsyncHttpOperations(Http http) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.util.concurrent.ListenableFuture<?> |
delete(String url,
Map<String,?> uriVariables) |
org.springframework.util.concurrent.ListenableFuture<?> |
delete(String url,
Object... uriVariables) |
org.springframework.util.concurrent.ListenableFuture<?> |
delete(URI url) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
exchange(String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
exchange(String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType,
Object... uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
exchange(String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
org.springframework.core.ParameterizedTypeReference<T> responseType,
Map<String,?> uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
exchange(String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
org.springframework.core.ParameterizedTypeReference<T> responseType,
Object... uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
exchange(URI url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
exchange(URI url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
org.springframework.core.ParameterizedTypeReference<T> responseType) |
<T> org.springframework.util.concurrent.ListenableFuture<T> |
execute(String url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.AsyncRequestCallback callback,
org.springframework.web.client.ResponseExtractor<T> extractor,
Map<String,?> uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<T> |
execute(String url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.AsyncRequestCallback callback,
org.springframework.web.client.ResponseExtractor<T> extractor,
Object... uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<T> |
execute(URI url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.AsyncRequestCallback callback,
org.springframework.web.client.ResponseExtractor<T> extractor) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
getForEntity(String url,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
getForEntity(String url,
Class<T> responseType,
Object... uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
getForEntity(URI url,
Class<T> responseType) |
org.springframework.web.client.RestOperations |
getRestOperations() |
org.springframework.util.concurrent.ListenableFuture<org.springframework.http.HttpHeaders> |
headForHeaders(String url,
Map<String,?> uriVariables) |
org.springframework.util.concurrent.ListenableFuture<org.springframework.http.HttpHeaders> |
headForHeaders(String url,
Object... uriVariables) |
org.springframework.util.concurrent.ListenableFuture<org.springframework.http.HttpHeaders> |
headForHeaders(URI url) |
org.springframework.util.concurrent.ListenableFuture<Set<org.springframework.http.HttpMethod>> |
optionsForAllow(String url,
Map<String,?> uriVariables) |
org.springframework.util.concurrent.ListenableFuture<Set<org.springframework.http.HttpMethod>> |
optionsForAllow(String url,
Object... uriVariables) |
org.springframework.util.concurrent.ListenableFuture<Set<org.springframework.http.HttpMethod>> |
optionsForAllow(URI url) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
postForEntity(String url,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
postForEntity(String url,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType,
Object... uriVariables) |
<T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> |
postForEntity(URI url,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType) |
org.springframework.util.concurrent.ListenableFuture<URI> |
postForLocation(String url,
org.springframework.http.HttpEntity<?> entity,
Map<String,?> uriVariables) |
org.springframework.util.concurrent.ListenableFuture<URI> |
postForLocation(String url,
org.springframework.http.HttpEntity<?> entity,
Object... uriVariables) |
org.springframework.util.concurrent.ListenableFuture<URI> |
postForLocation(URI url,
org.springframework.http.HttpEntity<?> entity) |
org.springframework.util.concurrent.ListenableFuture<?> |
put(String url,
org.springframework.http.HttpEntity<?> entity,
Map<String,?> uriVariables) |
org.springframework.util.concurrent.ListenableFuture<?> |
put(String url,
org.springframework.http.HttpEntity<?> entity,
Object... uriVariables) |
org.springframework.util.concurrent.ListenableFuture<?> |
put(URI url,
org.springframework.http.HttpEntity<?> entity) |
AsyncHttpOperations |
withDefaultRoutingTree(RoutingTree<org.springframework.http.HttpStatus.Series> defaultRoutingTree) |
public AsyncHttpOperations(Http http)
public AsyncHttpOperations withDefaultRoutingTree(RoutingTree<org.springframework.http.HttpStatus.Series> defaultRoutingTree)
public org.springframework.web.client.RestOperations getRestOperations()
getRestOperations in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> getForEntity(String url, Class<T> responseType, Object... uriVariables)
getForEntity in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> getForEntity(String url, Class<T> responseType, Map<String,?> uriVariables)
getForEntity in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> getForEntity(URI url, Class<T> responseType)
getForEntity in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<org.springframework.http.HttpHeaders> headForHeaders(String url, Object... uriVariables)
headForHeaders in interface org.springframework.web.client.AsyncRestOperations@Nonnull public org.springframework.util.concurrent.ListenableFuture<org.springframework.http.HttpHeaders> headForHeaders(String url, Map<String,?> uriVariables)
headForHeaders in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<org.springframework.http.HttpHeaders> headForHeaders(URI url)
headForHeaders in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<URI> postForLocation(String url, @Nullable org.springframework.http.HttpEntity<?> entity, Object... uriVariables)
postForLocation in interface org.springframework.web.client.AsyncRestOperations@Nonnull public org.springframework.util.concurrent.ListenableFuture<URI> postForLocation(String url, @Nullable org.springframework.http.HttpEntity<?> entity, Map<String,?> uriVariables)
postForLocation in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<URI> postForLocation(URI url, @Nullable org.springframework.http.HttpEntity<?> entity)
postForLocation in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> postForEntity(String url, @Nullable org.springframework.http.HttpEntity<?> entity, Class<T> responseType, Object... uriVariables)
postForEntity in interface org.springframework.web.client.AsyncRestOperations@Nonnull public <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> postForEntity(String url, @Nullable org.springframework.http.HttpEntity<?> entity, Class<T> responseType, Map<String,?> uriVariables)
postForEntity in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> postForEntity(URI url, @Nullable org.springframework.http.HttpEntity<?> entity, Class<T> responseType)
postForEntity in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<?> put(String url, @Nullable org.springframework.http.HttpEntity<?> entity, Object... uriVariables)
put in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<?> put(String url, @Nullable org.springframework.http.HttpEntity<?> entity, Map<String,?> uriVariables)
put in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<?> put(URI url, @Nullable org.springframework.http.HttpEntity<?> entity)
put in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<?> delete(String url, Object... uriVariables)
delete in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<?> delete(String url, Map<String,?> uriVariables)
delete in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<?> delete(URI url)
delete in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<Set<org.springframework.http.HttpMethod>> optionsForAllow(String url, Object... uriVariables)
optionsForAllow in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<Set<org.springframework.http.HttpMethod>> optionsForAllow(String url, Map<String,?> uriVariables)
optionsForAllow in interface org.springframework.web.client.AsyncRestOperationspublic org.springframework.util.concurrent.ListenableFuture<Set<org.springframework.http.HttpMethod>> optionsForAllow(URI url)
optionsForAllow in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> exchange(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.http.HttpEntity<?> entity, Class<T> responseType, Object... uriVariables)
exchange in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> exchange(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.http.HttpEntity<?> entity, Class<T> responseType, Map<String,?> uriVariables)
exchange in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> exchange(URI url, org.springframework.http.HttpMethod method, @Nullable org.springframework.http.HttpEntity<?> entity, Class<T> responseType)
exchange in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> exchange(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.http.HttpEntity<?> entity, org.springframework.core.ParameterizedTypeReference<T> responseType, Object... uriVariables)
exchange in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> exchange(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.http.HttpEntity<?> entity, org.springframework.core.ParameterizedTypeReference<T> responseType, Map<String,?> uriVariables)
exchange in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<org.springframework.http.ResponseEntity<T>> exchange(URI url, org.springframework.http.HttpMethod method, @Nullable org.springframework.http.HttpEntity<?> entity, org.springframework.core.ParameterizedTypeReference<T> responseType)
exchange in interface org.springframework.web.client.AsyncRestOperationspublic <T> org.springframework.util.concurrent.ListenableFuture<T> execute(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.web.client.AsyncRequestCallback callback, @Nullable org.springframework.web.client.ResponseExtractor<T> extractor, Object... uriVariables)
execute in interface org.springframework.web.client.AsyncRestOperations@Nonnull public <T> org.springframework.util.concurrent.ListenableFuture<T> execute(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.web.client.AsyncRequestCallback callback, @Nullable org.springframework.web.client.ResponseExtractor<T> extractor, Map<String,?> uriVariables)
execute in interface org.springframework.web.client.AsyncRestOperations@Nonnull public <T> org.springframework.util.concurrent.ListenableFuture<T> execute(URI url, org.springframework.http.HttpMethod method, @Nullable org.springframework.web.client.AsyncRequestCallback callback, @Nullable org.springframework.web.client.ResponseExtractor<T> extractor)
execute in interface org.springframework.web.client.AsyncRestOperationsCopyright © 2015–2019 Zalando SE. All rights reserved.