private class RestTemplate.ResponseEntityResponseExtractor<T> extends java.lang.Object implements ResponseExtractor<ResponseEntity<T>>
HttpEntity
.Modifier and Type | Field and Description |
---|---|
private HttpMessageConverterExtractor<T> |
delegate |
Constructor and Description |
---|
ResponseEntityResponseExtractor(java.lang.reflect.Type responseType) |
Modifier and Type | Method and Description |
---|---|
ResponseEntity<T> |
extractData(ClientHttpResponse response)
Extract data from the given
ClientHttpResponse and return it. |
private final HttpMessageConverterExtractor<T> delegate
public ResponseEntityResponseExtractor(java.lang.reflect.Type responseType)
public ResponseEntity<T> extractData(ClientHttpResponse response) throws java.io.IOException
ResponseExtractor
ClientHttpResponse
and return it.extractData
in interface ResponseExtractor<ResponseEntity<T>>
response
- the HTTP responsejava.io.IOException
- in case of I/O errors