| Constructor and Description |
|---|
HttpOperations(Http http) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String url,
Map<String,?> uriVariables) |
void |
delete(String url,
Object... uriVariables) |
void |
delete(URI url) |
<T> org.springframework.http.ResponseEntity<T> |
exchange(org.springframework.http.RequestEntity<?> entity,
Class<T> responseType) |
<T> org.springframework.http.ResponseEntity<T> |
exchange(org.springframework.http.RequestEntity<?> entity,
org.springframework.core.ParameterizedTypeReference<T> responseType) |
<T> 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.http.ResponseEntity<T> |
exchange(String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType,
Object... uriVariables) |
<T> 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.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.http.ResponseEntity<T> |
exchange(URI url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<?> entity,
Class<T> responseType) |
<T> 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> T |
execute(String url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.RequestCallback callback,
org.springframework.web.client.ResponseExtractor<T> extractor,
Map<String,?> uriVariables) |
<T> T |
execute(String url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.RequestCallback callback,
org.springframework.web.client.ResponseExtractor<T> extractor,
Object... uriVariables) |
<T> T |
execute(URI url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.RequestCallback callback,
org.springframework.web.client.ResponseExtractor<T> extractor) |
<T> org.springframework.http.ResponseEntity<T> |
getForEntity(String url,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> org.springframework.http.ResponseEntity<T> |
getForEntity(String url,
Class<T> responseType,
Object... uriVariables) |
<T> org.springframework.http.ResponseEntity<T> |
getForEntity(URI url,
Class<T> responseType) |
<T> T |
getForObject(String url,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> T |
getForObject(String url,
Class<T> responseType,
Object... uriVariables) |
<T> T |
getForObject(URI url,
Class<T> responseType) |
org.springframework.http.HttpHeaders |
headForHeaders(String url,
Map<String,?> uriVariables) |
org.springframework.http.HttpHeaders |
headForHeaders(String url,
Object... uriVariables) |
org.springframework.http.HttpHeaders |
headForHeaders(URI url) |
Set<org.springframework.http.HttpMethod> |
optionsForAllow(String url,
Map<String,?> uriVariables) |
Set<org.springframework.http.HttpMethod> |
optionsForAllow(String url,
Object... uriVariables) |
Set<org.springframework.http.HttpMethod> |
optionsForAllow(URI url) |
<T> T |
patchForObject(String url,
Object body,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> T |
patchForObject(String url,
Object body,
Class<T> responseType,
Object... uriVariables) |
<T> T |
patchForObject(URI url,
Object body,
Class<T> responseType) |
<T> org.springframework.http.ResponseEntity<T> |
postForEntity(String url,
Object body,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> org.springframework.http.ResponseEntity<T> |
postForEntity(String url,
Object body,
Class<T> responseType,
Object... uriVariables) |
<T> org.springframework.http.ResponseEntity<T> |
postForEntity(URI url,
Object body,
Class<T> responseType) |
URI |
postForLocation(String url,
Object body,
Map<String,?> uriVariables) |
URI |
postForLocation(String url,
Object body,
Object... uriVariables) |
URI |
postForLocation(URI url,
Object body) |
<T> T |
postForObject(String url,
Object body,
Class<T> responseType,
Map<String,?> uriVariables) |
<T> T |
postForObject(String url,
Object body,
Class<T> responseType,
Object... uriVariables) |
<T> T |
postForObject(URI url,
Object body,
Class<T> responseType) |
void |
put(String url,
Object body,
Map<String,?> uriVariables) |
void |
put(String url,
Object body,
Object... uriVariables) |
void |
put(URI url,
Object body) |
HttpOperations |
withDefaultRoutingTree(RoutingTree<org.springframework.http.HttpStatus.Series> defaultRoutingTree) |
public HttpOperations(Http http)
public HttpOperations withDefaultRoutingTree(RoutingTree<org.springframework.http.HttpStatus.Series> defaultRoutingTree)
public <T> T getForObject(String url, Class<T> responseType, Object... uriVariables)
getForObject in interface org.springframework.web.client.RestOperationspublic <T> T getForObject(String url, Class<T> responseType, Map<String,?> uriVariables)
getForObject in interface org.springframework.web.client.RestOperationspublic <T> T getForObject(URI url, Class<T> responseType)
getForObject in interface org.springframework.web.client.RestOperationspublic <T> org.springframework.http.ResponseEntity<T> getForEntity(String url, Class<T> responseType, Object... uriVariables)
getForEntity in interface org.springframework.web.client.RestOperationspublic <T> org.springframework.http.ResponseEntity<T> getForEntity(String url, Class<T> responseType, Map<String,?> uriVariables)
getForEntity in interface org.springframework.web.client.RestOperationspublic <T> org.springframework.http.ResponseEntity<T> getForEntity(URI url, Class<T> responseType)
getForEntity in interface org.springframework.web.client.RestOperations@Nonnull public org.springframework.http.HttpHeaders headForHeaders(String url, Object... uriVariables)
headForHeaders in interface org.springframework.web.client.RestOperations@Nonnull public org.springframework.http.HttpHeaders headForHeaders(String url, Map<String,?> uriVariables)
headForHeaders in interface org.springframework.web.client.RestOperations@Nonnull public org.springframework.http.HttpHeaders headForHeaders(URI url)
headForHeaders in interface org.springframework.web.client.RestOperationspublic URI postForLocation(String url, @Nullable Object body, Object... uriVariables)
postForLocation in interface org.springframework.web.client.RestOperationspublic URI postForLocation(String url, @Nullable Object body, Map<String,?> uriVariables)
postForLocation in interface org.springframework.web.client.RestOperationspublic URI postForLocation(URI url, @Nullable Object body)
postForLocation in interface org.springframework.web.client.RestOperationspublic <T> T postForObject(String url, @Nullable Object body, Class<T> responseType, Object... uriVariables)
postForObject in interface org.springframework.web.client.RestOperationspublic <T> T postForObject(String url, @Nullable Object body, Class<T> responseType, Map<String,?> uriVariables)
postForObject in interface org.springframework.web.client.RestOperationspublic <T> T postForObject(URI url, @Nullable Object body, Class<T> responseType)
postForObject in interface org.springframework.web.client.RestOperations@Nonnull public <T> org.springframework.http.ResponseEntity<T> postForEntity(String url, @Nullable Object body, Class<T> responseType, Object... uriVariables)
postForEntity in interface org.springframework.web.client.RestOperations@Nonnull public <T> org.springframework.http.ResponseEntity<T> postForEntity(String url, @Nullable Object body, Class<T> responseType, Map<String,?> uriVariables)
postForEntity in interface org.springframework.web.client.RestOperations@Nonnull public <T> org.springframework.http.ResponseEntity<T> postForEntity(URI url, @Nullable Object body, Class<T> responseType)
postForEntity in interface org.springframework.web.client.RestOperationspublic void put(String url, @Nullable Object body, Object... uriVariables)
put in interface org.springframework.web.client.RestOperationspublic void put(String url, @Nullable Object body, Map<String,?> uriVariables)
put in interface org.springframework.web.client.RestOperationspublic void put(URI url, @Nullable Object body)
put in interface org.springframework.web.client.RestOperationspublic <T> T patchForObject(String url, @Nullable Object body, Class<T> responseType, Object... uriVariables)
public <T> T patchForObject(String url, @Nullable Object body, Class<T> responseType, Map<String,?> uriVariables)
public void delete(String url, Object... uriVariables)
delete in interface org.springframework.web.client.RestOperationspublic void delete(String url, Map<String,?> uriVariables)
delete in interface org.springframework.web.client.RestOperationspublic void delete(URI url)
delete in interface org.springframework.web.client.RestOperations@Nonnull public Set<org.springframework.http.HttpMethod> optionsForAllow(String url, Object... uriVariables)
optionsForAllow in interface org.springframework.web.client.RestOperations@Nonnull public Set<org.springframework.http.HttpMethod> optionsForAllow(String url, Map<String,?> uriVariables)
optionsForAllow in interface org.springframework.web.client.RestOperations@Nonnull public Set<org.springframework.http.HttpMethod> optionsForAllow(URI url)
optionsForAllow in interface org.springframework.web.client.RestOperations@Nonnull public <T> 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.RestOperations@Nonnull public <T> 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.RestOperations@Nonnull public <T> 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.RestOperations@Nonnull public <T> 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.RestOperations@Nonnull public <T> 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.RestOperations@Nonnull public <T> 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.RestOperations@Nonnull public <T> org.springframework.http.ResponseEntity<T> exchange(org.springframework.http.RequestEntity<?> entity, Class<T> responseType)
exchange in interface org.springframework.web.client.RestOperations@Nonnull public <T> org.springframework.http.ResponseEntity<T> exchange(org.springframework.http.RequestEntity<?> entity, org.springframework.core.ParameterizedTypeReference<T> responseType)
exchange in interface org.springframework.web.client.RestOperationspublic <T> T execute(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.web.client.RequestCallback callback, @Nullable org.springframework.web.client.ResponseExtractor<T> extractor, Object... uriVariables)
execute in interface org.springframework.web.client.RestOperationspublic <T> T execute(String url, org.springframework.http.HttpMethod method, @Nullable org.springframework.web.client.RequestCallback callback, @Nullable org.springframework.web.client.ResponseExtractor<T> extractor, Map<String,?> uriVariables)
execute in interface org.springframework.web.client.RestOperationspublic <T> T execute(URI url, org.springframework.http.HttpMethod method, @Nullable org.springframework.web.client.RequestCallback callback, @Nullable org.springframework.web.client.ResponseExtractor<T> extractor)
execute in interface org.springframework.web.client.RestOperationsCopyright © 2015–2019 Zalando SE. All rights reserved.