Class RSocketRequestValues
java.lang.Object
org.springframework.messaging.rsocket.service.RSocketRequestValues
Container for RSocket request values extracted from an
 
@RSocketExchange-annotated
 method and argument values passed to it. This is then used to define a request
 via RSocketRequester.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionRSocketRequestValues(@Nullable String route, @Nullable List<Object> routeVariables, @Nullable org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, @Nullable Object payloadValue, @Nullable Publisher<?> payload, @Nullable ParameterizedTypeReference<?> payloadElementType) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic RSocketRequestValues.BuilderReturn the metadata entries forRSocketRequester.MetadataSpec.metadata(Object, MimeType).Return the request payload as a Publisher.Return the element type for a Publisher payload.Return the request payload as a value to be serialized, if set.getRoute()Return the route value forroute.Object[]Return the route variables forroute.
- 
Constructor Details- 
RSocketRequestValuespublic RSocketRequestValues(@Nullable String route, @Nullable List<Object> routeVariables, @Nullable org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, @Nullable Object payloadValue, @Nullable Publisher<?> payload, @Nullable ParameterizedTypeReference<?> payloadElementType) 
 
- 
- 
Method Details- 
getRoute
- 
getRouteVariables
- 
getMetadataReturn the metadata entries forRSocketRequester.MetadataSpec.metadata(Object, MimeType).
- 
getPayloadValueReturn the request payload as a value to be serialized, if set.This is mutually exclusive with getPayload(). Only one of the two or neither is set.
- 
getPayloadReturn the request payload as a Publisher.This is mutually exclusive with getPayloadValue(). Only one of the two or neither is set.
- 
getPayloadElementTypeReturn the element type for a Publisher payload.
- 
builder
 
-