spring-framework / org.springframework.web.reactive.function.client / toEntityList

toEntityList

fun <reified 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