For reactive clients, see ReactorHttpExchangeAdapter.
| Modifier and Type | Method and Description |
|---|---|
| public void | exchange(HttpRequestValues
the request to perform requestValues)Perform the given request, and release the response content, if any. |
| public ResponseEntity | Returns: the response entity with status and headers.Variant of |
| public < the type the response is decoded to T> T | Returns: the decoded response body.the request to perform requestValues, ParameterizedTypeReference<T> the target type to decode to bodyType)Perform the given request and decode the response content to the given type. |
| public <T> ResponseEntity | Returns: the response entity with status, headers, and body.Variant of |
| public HttpHeaders | Returns: the response headersthe request to perform requestValues)Perform the given request, release the response content, and return the response headers. |
| public boolean |
| exchange | back to summary |
|---|---|
| public void exchange(HttpRequestValues requestValues) Perform the given request, and release the response content, if any.
| |
| exchangeForBodilessEntity | back to summary |
|---|---|
| public ResponseEntity Variant of
| |
| exchangeForBody | back to summary |
|---|---|
| public <T> T exchangeForBody(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) Perform the given request and decode the response content to the given type.
| |
| exchangeForEntity | back to summary |
|---|---|
| public <T> ResponseEntity Variant of
| |
| exchangeForHeaders | back to summary |
|---|---|
| public HttpHeaders exchangeForHeaders(HttpRequestValues requestValues) Perform the given request, release the response content, and return the response headers.
| |
| supportsRequestAttributes | back to summary |
|---|---|
| public boolean supportsRequestAttributes() Whether the underlying client supports use of request attributes. | |