awaitBodilessEntity |
Coroutines variant of ClientResponse.toBodilessEntity. suspend fun ClientResponse.awaitBodilessEntity(): ResponseEntity<Void> |
awaitBody |
Non-nullable Coroutines variant of ClientResponse.bodyToMono. suspend fun <T : Any> ClientResponse.awaitBody(): T
suspend fun <T : Any> ClientResponse.awaitBody(clazz: KClass<T>): T
Coroutines variant of WebClient.ResponseSpec.bodyToMono. suspend fun <T : Any> ResponseSpec.awaitBody(): T |
awaitBodyOrNull |
Nullable coroutines variant of ClientResponse.bodyToMono. suspend fun <T : Any> ClientResponse.awaitBodyOrNull(): T?
suspend fun <T : Any> ClientResponse.awaitBodyOrNull(clazz: KClass<T>): T? |
awaitEntity |
Coroutines variant of ClientResponse.toEntity. suspend fun <T : Any> ClientResponse.awaitEntity(): ResponseEntity<T>
suspend fun <T : Any> ClientResponse.awaitEntity(clazz: KClass<T>): ResponseEntity<T> |
awaitEntityList |
Coroutines variant of ClientResponse.toEntityList. suspend fun <T : Any> ClientResponse.awaitEntityList(): ResponseEntity<List<T>>
suspend fun <T : Any> ClientResponse.awaitEntityList(clazz: KClass<T>): ResponseEntity<List<T>> |
awaitExchange |
Coroutines variant of WebClient.RequestHeadersSpec.exchange. suspend fun RequestHeadersSpec<out RequestHeadersSpec<*>>.
Coroutines variant of WebClient.RequestHeadersSpec.exchangeToMono. suspend fun <T : Any> RequestHeadersSpec<out RequestHeadersSpec<*>>.awaitExchange(responseHandler: suspend (ClientResponse) -> T): T |
body |
Extension for WebClient.RequestBodySpec.body providing a fun <T : Any, S : Publisher<T>> RequestBodySpec.body(publisher: S): RequestHeadersSpec<*>
Extension for WebClient.RequestBodySpec.body providing a fun <T : Any> RequestBodySpec.body(flow: Flow<T>): RequestHeadersSpec<*>
Extension for WebClient.RequestBodySpec.body providing a fun <T : Any> RequestBodySpec.body(producer: Any): RequestHeadersSpec<*> |
bodyToFlow |
Coroutines kotlinx.coroutines.flow.Flow based variant of ClientResponse.bodyToFlux. fun <T : Any> ClientResponse.bodyToFlow(): Flow<T>
fun <T : Any> ClientResponse.bodyToFlow(clazz: KClass<T>): Flow<T>
Coroutines kotlinx.coroutines.flow.Flow based variant of WebClient.ResponseSpec.bodyToFlux. fun <T : Any> ResponseSpec.bodyToFlow(): Flow<T> |
bodyToFlux |
Extension for ClientResponse.bodyToFlux providing a fun <T : Any> ClientResponse.bodyToFlux(): Flux<T>
Extension for WebClient.ResponseSpec.bodyToFlux providing a fun <T : Any> ResponseSpec.bodyToFlux(): Flux<T> |
bodyToMono |
Extension for ClientResponse.bodyToMono providing a fun <T : Any> ClientResponse.bodyToMono(): Mono<T>
Extension for WebClient.ResponseSpec.bodyToMono providing a fun <T : Any> ResponseSpec.bodyToMono(): Mono<T> |
createExceptionAndAwait |
Coroutines variant of ClientResponse.createException. suspend fun ClientResponse.createExceptionAndAwait(): WebClientResponseException |
exchangeToFlow |
Coroutines variant of WebClient.RequestHeadersSpec.exchangeToFlux. fun <T : Any> RequestHeadersSpec<out RequestHeadersSpec<*>>.exchangeToFlow(responseHandler: (ClientResponse) -> Flow<T>): Flow<T> |
toEntity |
Extension for ClientResponse.toEntity providing a fun <T : Any> ClientResponse.toEntity(): Mono<ResponseEntity<T>>
Extension for WebClient.ResponseSpec.toEntity providing a fun <T : Any> ResponseSpec.toEntity(): Mono<ResponseEntity<T>> |
toEntityFlux |
Extension for WebClient.ResponseSpec.toEntityFlux providing a fun <T : Any> ResponseSpec.toEntityFlux(): Mono<ResponseEntity<Flux<T>>> |
toEntityList |
Extension for ClientResponse.toEntityList providing a fun <T : Any> ClientResponse.toEntityList(): Mono<ResponseEntity<List<T>>>
Extension for WebClient.ResponseSpec.toEntityList providing a fun <T : Any> ResponseSpec.toEntityList(): Mono<ResponseEntity<List<T>>> |