RSocketRequester.Builder .
| Modifier and Type | Field and Description |
|---|---|
| private MimeType | |
| private static final byte[] | |
| private static final Payload | |
| private static final Map | |
| private MimeType | |
| private final List | |
| private Object | |
| private Map | |
| private String | |
| private Object[] | |
| private RSocketStrategies | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| dataMimeType | back to summary |
|---|---|
| private MimeType dataMimeType
| |
| EMPTY_BYTE_ARRAY | back to summary |
|---|---|
| private static final byte[] EMPTY_BYTE_ARRAY | |
| EMPTY_SETUP_PAYLOAD | back to summary |
|---|---|
| private static final Payload EMPTY_SETUP_PAYLOAD | |
| HINTS | back to summary |
|---|---|
| private static final Map<String, Object> HINTS | |
| metadataMimeType | back to summary |
|---|---|
| private MimeType metadataMimeType
| |
| rsocketConnectorConfigurers | back to summary |
|---|---|
| private final List<RSocketConnectorConfigurer> rsocketConnectorConfigurers | |
| setupData | back to summary |
|---|---|
| private Object setupData
| |
| setupMetadata | back to summary |
|---|---|
| private Map<Object, MimeType> setupMetadata
| |
| setupRoute | back to summary |
|---|---|
| private String setupRoute
| |
| setupRouteVars | back to summary |
|---|---|
| private Object[] setupRouteVars
| |
| strategies | back to summary |
|---|---|
| private RSocketStrategies strategies
| |
| strategiesConfigurers | back to summary |
|---|---|
| private final List<Consumer<RSocketStrategies. | |
| DefaultRSocketRequesterBuilder | back to summary |
|---|---|
| pack-priv DefaultRSocketRequesterBuilder() | |
| apply | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Configure this builder through a
| |
| connect | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Connect to the server with the given
| |
| connectTcp | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Connect to the server over TCP.
| |
| connectWebSocket | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Connect to the server over WebSocket.
| |
| dataMimeType | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Configure the payload data MimeType to specify on the If not set, this will be initialized to the MimeType of the first
| |
| getDataMimeType | back to summary |
|---|---|
| private MimeType getDataMimeType(RSocketStrategies strategies) | |
| getMetadataMimeType | back to summary |
|---|---|
| public MimeType getMetadataMimeType() | |
| getMimeType | back to summary |
|---|---|
| private static MimeType getMimeType(Decoder<?> decoder) | |
| getRSocketStrategies | back to summary |
|---|---|
| private RSocketStrategies getRSocketStrategies() | |
| getSetupPayload | back to summary |
|---|---|
| private Mono | |
| initConnector | back to summary |
|---|---|
private RSocketConnector initConnector(List<RSocketConnectorConfigurer> connectorConfigurers, MimeType metaMimeType, MimeType dataMimeType, RSocketStrategies rsocketStrategies)
| |
| isCoreCodec | back to summary |
|---|---|
| private static boolean isCoreCodec(Object codec) | |
| metadataMimeType | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Configure the payload metadata MimeType to specify on the By default this is set to
| |
| rsocketConnector | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Callback to configure the
| |
| rsocketStrategies | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Provide the This is useful for changing the default settings, yet still allowing
further customizations via
| |
| rsocketStrategies | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Customize the Allows further customization on
| |
| setupData | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Set the data for the setup payload. The data will be encoded
according to the configured By default this is not set.
| |
| setupMetadata | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Add metadata entry to the setup payload. Composite metadata must be
in use if this is called more than once or in addition to
| |
| setupRoute | back to summary |
|---|---|
| public RSocketRequester. Implements org. Doc from org. Set the route for the setup payload. The rules for formatting and
encoding the route are the same as those for a request route as
described in By default this is not set.
| |
| tcp | back to summary |
|---|---|
| public RSocketRequester tcp(String host, int port) Implements org. Doc from org. Build an
| |
| transport | back to summary |
|---|---|
| public RSocketRequester transport(ClientTransport transport) Implements org. Doc from org. Variant of
| |
| transports | back to summary |
|---|---|
| public RSocketRequester transports(Publisher<List<LoadbalanceTarget>> targetPublisher, LoadbalanceStrategy loadbalanceStrategy) Implements org. Doc from org. Build an
| |
| websocket | back to summary |
|---|---|
| public RSocketRequester websocket(URI uri) Implements org. Doc from org. Build an
| |