@Deprecated public class DefaultClientResponse extends Object implements org.springframework.web.reactive.function.client.ClientResponse
ClientResponse.| Constructor and Description |
|---|
DefaultClientResponse(org.springframework.http.client.reactive.ClientHttpResponse response,
org.springframework.web.reactive.function.client.ExchangeStrategies strategies)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
body(org.springframework.web.reactive.function.BodyExtractor<T,? super org.springframework.http.client.reactive.ClientHttpResponse> extractor)
Deprecated.
|
<T> reactor.core.publisher.Flux<T> |
bodyToFlux(Class<? extends T> elementClass)
Deprecated.
|
<T> reactor.core.publisher.Flux<T> |
bodyToFlux(org.springframework.core.ParameterizedTypeReference<T> typeReference)
Deprecated.
|
<T> reactor.core.publisher.Mono<T> |
bodyToMono(Class<? extends T> elementClass)
Deprecated.
|
<T> reactor.core.publisher.Mono<T> |
bodyToMono(org.springframework.core.ParameterizedTypeReference<T> typeReference)
Deprecated.
|
org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> |
cookies()
Deprecated.
|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.WebClientResponseException> |
createException()
Deprecated.
|
org.springframework.web.reactive.function.client.ClientResponse.Headers |
headers()
Deprecated.
|
String |
logPrefix()
Deprecated.
|
int |
rawStatusCode()
Deprecated.
|
reactor.core.publisher.Mono<Void> |
releaseBody()
Deprecated.
|
org.springframework.http.HttpStatus |
statusCode()
Deprecated.
|
org.springframework.web.reactive.function.client.ExchangeStrategies |
strategies()
Deprecated.
|
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> |
toBodilessEntity()
Deprecated.
|
<T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<T>> |
toEntity(Class<T> bodyType)
Deprecated.
|
<T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<T>> |
toEntity(org.springframework.core.ParameterizedTypeReference<T> typeReference)
Deprecated.
|
<T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<T>>> |
toEntityList(Class<T> responseType)
Deprecated.
|
<T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<T>>> |
toEntityList(org.springframework.core.ParameterizedTypeReference<T> typeReference)
Deprecated.
|
public DefaultClientResponse(org.springframework.http.client.reactive.ClientHttpResponse response,
org.springframework.web.reactive.function.client.ExchangeStrategies strategies)
public org.springframework.web.reactive.function.client.ExchangeStrategies strategies()
strategies in interface org.springframework.web.reactive.function.client.ClientResponsepublic org.springframework.http.HttpStatus statusCode()
statusCode in interface org.springframework.web.reactive.function.client.ClientResponsepublic int rawStatusCode()
rawStatusCode in interface org.springframework.web.reactive.function.client.ClientResponsepublic org.springframework.web.reactive.function.client.ClientResponse.Headers headers()
headers in interface org.springframework.web.reactive.function.client.ClientResponsepublic org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> cookies()
cookies in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> T body(org.springframework.web.reactive.function.BodyExtractor<T,? super org.springframework.http.client.reactive.ClientHttpResponse> extractor)
body in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Mono<T> bodyToMono(Class<? extends T> elementClass)
bodyToMono in interface org.springframework.web.reactive.function.client.ClientResponsepublic reactor.core.publisher.Mono<Void> releaseBody()
releaseBody in interface org.springframework.web.reactive.function.client.ClientResponsepublic reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> toBodilessEntity()
toBodilessEntity in interface org.springframework.web.reactive.function.client.ClientResponsepublic reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.WebClientResponseException> createException()
createException in interface org.springframework.web.reactive.function.client.ClientResponsepublic String logPrefix()
logPrefix in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Mono<T> bodyToMono(org.springframework.core.ParameterizedTypeReference<T> typeReference)
bodyToMono in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Flux<T> bodyToFlux(Class<? extends T> elementClass)
bodyToFlux in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Flux<T> bodyToFlux(org.springframework.core.ParameterizedTypeReference<T> typeReference)
bodyToFlux in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<T>> toEntity(Class<T> bodyType)
toEntity in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<T>> toEntity(org.springframework.core.ParameterizedTypeReference<T> typeReference)
toEntity in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<T>>> toEntityList(Class<T> responseType)
toEntityList in interface org.springframework.web.reactive.function.client.ClientResponsepublic <T> reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<T>>> toEntityList(org.springframework.core.ParameterizedTypeReference<T> typeReference)
toEntityList in interface org.springframework.web.reactive.function.client.ClientResponseCopyright © 2020 Pivotal Software, Inc.. All rights reserved.