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 Summary
Nested Classes - 
Constructor Summary
ConstructorsConstructorDescriptionRSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic RSocketRequestValues.BuilderReturn the metadata entries forRSocketRequester.MetadataSpec.metadata(Object, MimeType).Publisher<?>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
- 
RSocketRequestValues
public 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
Return the route value forroute. - 
getRouteVariables
Return the route variables forroute. - 
getMetadata
Return the metadata entries forRSocketRequester.MetadataSpec.metadata(Object, MimeType). - 
getPayloadValue
Return 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. - 
getPayload
Return the request payload as a Publisher.This is mutually exclusive with
getPayloadValue(). Only one of the two or neither is set. - 
getPayloadElementType
Return the element type for a Publisher payload. - 
builder
 
 -