dataWithType
Extension for RSocketRequester.RequestSpec.data providing a dataWithType<Foo>(Any)
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.2
Parameters
the source of payload data value(s). This must be a Publisher or another producer adaptable to a Publisher via org.springframework.core.ReactiveAdapterRegistry
the type of values to be produced
Extension for RSocketRequester.RequestSpec.data providing a dataWithType(Publisher<T>)
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.2
Parameters
the source of payload data value(s)
the type of values to be produced
Extension for RSocketRequester.RequestSpec.data providing a dataWithType(Flow<T>)
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.2
Parameters
the Flow to write to the request
the source of payload data value(s)