toEntityList

inline fun <T : Any> ClientResponse.toEntityList(): Mono<ResponseEntity<List<T>>>

Extension for ClientResponse.toEntityList providing a bodyToEntityList<Foo>() variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.

Author

Sebastien Deleuze

Since

5.0


inline fun <T : Any> WebClient.ResponseSpec.toEntityList(): Mono<ResponseEntity<List<T>>>

Extension for WebClient.ResponseSpec.toEntityList providing a toEntityList<Foo>() variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.

Since

5.3.2