public interface ResponseExtractor<T>
ResponseExtractor
extracts the relevant part of a
raw ClientHttpResponse
,
optionally 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(reactor.core.publisher.Mono<ClientHttpResponse> clientResponse,
WebClientConfig webClientConfig)
Extract content from the response
|
T extract(reactor.core.publisher.Mono<ClientHttpResponse> clientResponse, WebClientConfig webClientConfig)
clientResponse
- the raw HTTP responsewebClientConfig
- the WebClient
configuration information