Class RSocketRequestValues.Builder
java.lang.Object
org.springframework.messaging.rsocket.service.RSocketRequestValues.Builder
- Enclosing class:
- RSocketRequestValues
Builder for 
RSocketRequestValues.- 
Method SummaryModifier and TypeMethodDescriptionaddMetadata(Object metadata) Add a metadata entry.addMimeType(MimeType mimeType) Set the mime type for a metadata entry.addRouteVariable(Object variable) Add a route variable.build()Build theRSocketRequestValuesinstance.<T,P extends Publisher<T>> 
 RSocketRequestValues.BuildersetPayload(P payload, ParameterizedTypeReference<T> elementTye) Set the request payload value to be serialized.setPayloadValue(Object payloadValue) Set the request payload as a concrete value to be serialized.Set the route for the request.
- 
Method Details- 
setRouteSet the route for the request.
- 
addRouteVariableAdd a route variable.
- 
addMetadataAdd a metadata entry. This must be followed by a corresponding call toaddMimeType(MimeType).
- 
addMimeTypeSet the mime type for a metadata entry. This must be preceded by a call toaddMetadata(Object).
- 
setPayloadValueSet the request payload as a concrete value to be serialized.This is mutually exclusive with, and resets any previously set payload Publisher. 
- 
setPayloadpublic <T,P extends Publisher<T>> RSocketRequestValues.Builder setPayload(P payload, ParameterizedTypeReference<T> elementTye) Set the request payload value to be serialized.
- 
buildBuild theRSocketRequestValuesinstance.
 
-