| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResponseExtractor<T>
Generic callback interface used by RestTemplate's retrieval methods
 Implementations of this interface perform the actual work of extracting data
 from a ClientHttpResponse, but don't need to worry about exception
 handling or closing resources.
 
Used internally by the RestTemplate, but also useful for application code.
RestTemplate.execute(java.lang.String, org.springframework.http.HttpMethod, org.springframework.web.client.RequestCallback, org.springframework.web.client.ResponseExtractor, java.lang.Object...) | Method Summary | |
|---|---|
|  T | extractData(ClientHttpResponse response)Extract data from the given ClientHttpResponseand return it. | 
| Method Detail | 
|---|
T extractData(ClientHttpResponse response)
              throws IOException
ClientHttpResponse and return it.
response - the HTTP response
IOException - in case of I/O errors| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||