public interface BodyExtractor<T>
ClientHttpResponse
decoding
the response body and using a target composition API.
See static factory methods in ResponseExtractors
and
RxJava1ResponseExtractors
.
Modifier and Type | Method and Description |
---|---|
T |
extract(ClientHttpResponse clientResponse,
List<HttpMessageReader<?>> messageReaders)
Extract content from the response body
|
T extract(ClientHttpResponse clientResponse, List<HttpMessageReader<?>> messageReaders)
clientResponse
- the raw HTTP responsemessageReaders
- the message readers that decode the response body