@ -67,33 +67,33 @@ fun <T : Any> WebClient.ResponseSpec.bodyToFlux(type: KClass<T>): Flux<T> = body
@@ -67,33 +67,33 @@ fun <T : Any> WebClient.ResponseSpec.bodyToFlux(type: KClass<T>): Flux<T> = body
inline fun < reified T : Any > WebClient . ResponseSpec . bodyToFlux ( ) : Flux < T > = bodyToFlux ( T :: class . java )
/ * *
* Extension for [ WebClient . ResponseSpec . bodyT oEntity] providing a [ KClass ] based variant .
* Extension for [ WebClient . ResponseSpec . t oEntity] providing a [ KClass ] based variant .
*
* @author Sebastien Deleuze
* @since 5.0
* /
fun < T : Any > WebClient . ResponseSpec . bodyT oEntity( type : KClass < T > ) : Mono < ResponseEntity < T > > = bodyT oEntity( type . java )
fun < T : Any > WebClient . ResponseSpec . t oEntity( type : KClass < T > ) : Mono < ResponseEntity < T > > = t oEntity( type . java )
/ * *
* Extension for [ WebClient . ResponseSpec . bodyT oEntity] providing a ` bodyToEntity < Foo > ( ) ` variant .
* Extension for [ WebClient . ResponseSpec . t oEntity] providing a ` bodyToEntity < Foo > ( ) ` variant .
*
* @author Sebastien Deleuze
* @since 5.0
* /
inline fun < reified T : Any > WebClient . ResponseSpec . bodyT oEntity( ) : Mono < ResponseEntity < T > > = bodyT oEntity( T :: class . java )
inline fun < reified T : Any > WebClient . ResponseSpec . t oEntity( ) : Mono < ResponseEntity < T > > = t oEntity( T :: class . java )
/ * *
* Extension for [ WebClient . ResponseSpec . bodyT oEntityList] providing a [ KClass ] based variant .
* Extension for [ WebClient . ResponseSpec . t oEntityList] providing a [ KClass ] based variant .
*
* @author Sebastien Deleuze
* @since 5.0
* /
fun < T : Any > WebClient . ResponseSpec . bodyT oEntityList( type : KClass < T > ) : Mono < ResponseEntity < List < T > > > = bodyT oEntityList( type . java )
fun < T : Any > WebClient . ResponseSpec . t oEntityList( type : KClass < T > ) : Mono < ResponseEntity < List < T > > > = t oEntityList( type . java )
/ * *
* Extension for [ WebClient . ResponseSpec . bodyT oEntityList] providing a ` bodyToEntityList < Foo > ( ) ` variant .
* Extension for [ WebClient . ResponseSpec . t oEntityList] providing a ` bodyToEntityList < Foo > ( ) ` variant .
*
* @author Sebastien Deleuze
* @since 5.0
* /
inline fun < reified T : Any > WebClient . ResponseSpec . bodyT oEntityList( ) : Mono < ResponseEntity < List < T > > > = bodyT oEntityList( T :: class . java )
inline fun < reified T : Any > WebClient . ResponseSpec . t oEntityList( ) : Mono < ResponseEntity < List < T > > > = t oEntityList( T :: class . java )