Package | Description |
---|---|
org.springframework.messaging.rsocket |
Support for the RSocket protocol.
|
Modifier and Type | Method and Description |
---|---|
RSocketRequester.Builder |
RSocketRequester.Builder.apply(Consumer<RSocketRequester.Builder> configurer)
Configure this builder through a
Consumer . |
static RSocketRequester.Builder |
RSocketRequester.builder()
Obtain a builder to create a client
RSocketRequester by connecting
to an RSocket server. |
RSocketRequester.Builder |
RSocketRequester.Builder.dataMimeType(MimeType mimeType)
Configure the payload data MimeType to specify on the
SETUP
frame that applies to the whole connection. |
RSocketRequester.Builder |
RSocketRequester.Builder.metadataMimeType(MimeType mimeType)
Configure the payload metadata MimeType to specify on the
SETUP
frame that applies to the whole connection. |
RSocketRequester.Builder |
RSocketRequester.Builder.rsocketConnector(RSocketConnectorConfigurer configurer)
Callback to configure the
RSocketConnector directly. |
RSocketRequester.Builder |
RSocketRequester.Builder.rsocketFactory(ClientRSocketFactoryConfigurer configurer)
Deprecated.
as of 5.2.6 following the deprecation of
RSocketFactory.ClientRSocketFactory
in RSocket 1.0 RC7. Please, use rsocketConnector(RSocketConnectorConfigurer) . |
RSocketRequester.Builder |
RSocketRequester.Builder.rsocketStrategies(Consumer<RSocketStrategies.Builder> configurer)
Customize the
RSocketStrategies . |
RSocketRequester.Builder |
RSocketRequester.Builder.rsocketStrategies(RSocketStrategies strategies)
Provide the
RSocketStrategies to use. |
RSocketRequester.Builder |
RSocketRequester.Builder.setupData(Object data)
Set the data for the setup payload.
|
RSocketRequester.Builder |
RSocketRequester.Builder.setupMetadata(Object value,
MimeType mimeType)
Add metadata entry to the setup payload.
|
RSocketRequester.Builder |
RSocketRequester.Builder.setupRoute(String route,
Object... routeVars)
Set the route for the setup payload.
|
Modifier and Type | Method and Description |
---|---|
RSocketRequester.Builder |
RSocketRequester.Builder.apply(Consumer<RSocketRequester.Builder> configurer)
Configure this builder through a
Consumer . |