public interface RSocketStrategies
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RSocketStrategies.Builder
The builder options for creating
RSocketStrategies. |
| Modifier and Type | Method and Description |
|---|---|
static RSocketStrategies.Builder |
builder()
Return a builder to build a new
RSocketStrategies instance. |
org.springframework.core.io.buffer.DataBufferFactory |
dataBufferFactory()
Return the configured
dataBufferFactory. |
default <T> org.springframework.core.codec.Decoder<T> |
decoder(org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType)
Find a compatible Decoder for the given element type.
|
List<org.springframework.core.codec.Decoder<?>> |
decoders()
Return the configured
decoders. |
default <T> org.springframework.core.codec.Encoder<T> |
encoder(org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType)
Find a compatible Encoder for the given element type.
|
List<org.springframework.core.codec.Encoder<?>> |
encoders()
Return the configured
encoders. |
default RSocketStrategies.Builder |
mutate()
Return a builder to create a new
RSocketStrategies instance
replicated from the current instance. |
org.springframework.core.ReactiveAdapterRegistry |
reactiveAdapterRegistry()
Return the configured
reactiveAdapterRegistry. |
List<org.springframework.core.codec.Encoder<?>> encoders()
encoders.encoder(ResolvableType, MimeType)default <T> org.springframework.core.codec.Encoder<T> encoder(org.springframework.core.ResolvableType elementType,
@Nullable
org.springframework.util.MimeType mimeType)
T - for casting the Encoder to the expected element typeelementType - the element type to matchmimeType - the MimeType to matchIllegalArgumentException - if no matching Encoder is foundList<org.springframework.core.codec.Decoder<?>> decoders()
decoders.decoder(ResolvableType, MimeType)default <T> org.springframework.core.codec.Decoder<T> decoder(org.springframework.core.ResolvableType elementType,
@Nullable
org.springframework.util.MimeType mimeType)
T - for casting the Decoder to the expected element typeelementType - the element type to matchmimeType - the MimeType to matchIllegalArgumentException - if no matching Decoder is foundorg.springframework.core.ReactiveAdapterRegistry reactiveAdapterRegistry()
reactiveAdapterRegistry.org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory()
dataBufferFactory.static RSocketStrategies.Builder builder()
RSocketStrategies instance.default RSocketStrategies.Builder mutate()
RSocketStrategies instance
replicated from the current instance.