RSocket that wraps the payload and metadata of incoming
requests as a Message and then delegates to the configured
RSocketMessageHandler to handle it. The response, if applicable, is
obtained from the "rsocketResponse" header.
| Modifier and Type | Field and Description |
|---|---|
| private final MimeType | |
| private final ReactiveMessageHandler | |
| private final MetadataExtractor | |
| private final MimeType | |
| private final RSocketRequester | |
| private final RouteMatcher | |
| private final RSocketStrategies |
| Access | Constructor and Description |
|---|---|
| pack-priv | MessagingRSocket(MimeType dataMimeType, MimeType metadataMimeType, MetadataExtractor metadataExtractor, RSocketRequester requester, ReactiveMessageHandler messageHandler, RouteMatcher routeMatcher, RSocketStrategies strategies)
|
| Modifier and Type | Method and Description |
|---|---|
| private MessageHeaders | |
| public Mono | fireAndForget(Payload
Request payload. payload)Overrides default io. Fire and Forget interaction model of |
| private Mono | |
| private Flux | |
| public Mono | Returns: completion handle for success or errorthe connection payload payload)Wrap the |
| public Mono | metadataPush(Payload
Request payloads. payload)Overrides default io. Metadata-Push interaction model of |
| private int | |
| public Flux | requestChannel(Publisher<Payload>
Stream of request payloads. payloads)Overrides default io. Request-Channel interaction model of |
| public Mono | requestResponse(Payload
Request payload. payload)Overrides default io. Request-Response interaction model of |
| public Flux | requestStream(Payload
Request payload. payload)Overrides default io. Request-Stream interaction model of |
| private DataBuffer |
| dataMimeType | back to summary |
|---|---|
| private final MimeType dataMimeType | |
| messageHandler | back to summary |
|---|---|
| private final ReactiveMessageHandler messageHandler | |
| metadataExtractor | back to summary |
|---|---|
| private final MetadataExtractor metadataExtractor | |
| metadataMimeType | back to summary |
|---|---|
| private final MimeType metadataMimeType | |
| requester | back to summary |
|---|---|
| private final RSocketRequester requester | |
| routeMatcher | back to summary |
|---|---|
| private final RouteMatcher routeMatcher | |
| strategies | back to summary |
|---|---|
| private final RSocketStrategies strategies | |
| MessagingRSocket | back to summary |
|---|---|
| pack-priv MessagingRSocket(MimeType dataMimeType, MimeType metadataMimeType, MetadataExtractor metadataExtractor, RSocketRequester requester, ReactiveMessageHandler messageHandler, RouteMatcher routeMatcher, RSocketStrategies strategies) | |
| createHeaders | back to summary |
|---|---|
| private MessageHeaders createHeaders(Payload payload, FrameType frameType, AtomicReference<Flux<Payload>> responseRef) | |
| fireAndForget | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Fire and Forget interaction model of | |
| handle | back to summary |
|---|---|
| private Mono | |
| handleAndReply | back to summary |
|---|---|
private Flux
| |
| handleConnectionSetupPayload | back to summary |
|---|---|
| public Mono Wrap the
| |
| metadataPush | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Metadata-Push interaction model of | |
| refCount | back to summary |
|---|---|
| private int refCount(DataBuffer dataBuffer) | |
| requestChannel | back to summary |
|---|---|
| public Flux Overrides default io. Doc from io. Request-Channel interaction model of | |
| requestResponse | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Request-Response interaction model of | |
| requestStream | back to summary |
|---|---|
| public Flux Overrides default io. Doc from io. Request-Stream interaction model of | |
| retainDataAndReleasePayload | back to summary |
|---|---|
| private DataBuffer retainDataAndReleasePayload(Payload payload) | |