Package | Description |
---|---|
org.springframework.messaging.rsocket |
Support for the RSocket protocol.
|
Modifier and Type | Method and Description |
---|---|
static RSocketStrategies.Builder |
RSocketStrategies.builder()
Return a builder to prepare a new
RSocketStrategies instance. |
RSocketStrategies.Builder |
RSocketStrategies.Builder.dataBufferFactory(DataBufferFactory bufferFactory)
Configure the DataBufferFactory to use for allocating buffers when
preparing requests or creating responses.
|
RSocketStrategies.Builder |
RSocketStrategies.Builder.decoder(Decoder<?>... decoder)
Append to the list of decoders to use for de-serializing Objects from
the data or metadata of a
Payload . |
RSocketStrategies.Builder |
RSocketStrategies.Builder.decoders(Consumer<List<Decoder<?>>> consumer)
Apply the consumer to the list of configured decoders, immediately.
|
RSocketStrategies.Builder |
RSocketStrategies.Builder.encoder(Encoder<?>... encoder)
Append to the list of encoders to use for serializing Objects to the
data or metadata of a
Payload . |
RSocketStrategies.Builder |
RSocketStrategies.Builder.encoders(Consumer<List<Encoder<?>>> consumer)
Apply the consumer to the list of configured encoders, immediately.
|
RSocketStrategies.Builder |
RSocketStrategies.Builder.metadataExtractor(MetadataExtractor metadataExtractor)
Configure a
MetadataExtractor to extract the route along with
other metadata. |
RSocketStrategies.Builder |
RSocketStrategies.Builder.metadataExtractorRegistry(Consumer<MetadataExtractorRegistry> consumer)
Apply the consumer to the
MetadataExtractorRegistry in order
to register extra metadata entry extractors. |
default RSocketStrategies.Builder |
RSocketStrategies.mutate()
Return a builder to create a new
RSocketStrategies instance
replicated from the current instance. |
RSocketStrategies.Builder |
RSocketStrategies.Builder.reactiveAdapterStrategy(ReactiveAdapterRegistry registry)
Configure the registry for reactive type support.
|
RSocketStrategies.Builder |
RSocketStrategies.Builder.routeMatcher(RouteMatcher routeMatcher)
Configure a
RouteMatcher for matching routes to message
handlers based on route patterns. |
Modifier and Type | Method and Description |
---|---|
RSocketRequester.Builder |
RSocketRequester.Builder.rsocketStrategies(Consumer<RSocketStrategies.Builder> configurer)
Customize the
RSocketStrategies . |