@RSocketExchange-annotated
method and argument values passed to it. This is then used to define a request
via org.springframework.messaging.rsocket.RSocketRequester .
| Modifier and Type | Class and Description |
|---|---|
| public static class | RSocketRequestValues.
Builder for |
| private static class | RSocketRequestValues.
Class that helps to collect a map of metadata entries as a series of calls to provide each metadata and mime type pair. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Publisher | |
| private final ParameterizedTypeReference | |
| private final Object | |
| private final String | |
| private final Object[] |
| Access | Constructor and Description |
|---|---|
| public | RSocketRequestValues(String route, List<Object> routeVariables, RSocketRequestValues.
|
| Modifier and Type | Method and Description |
|---|---|
| public static RSocketRequestValues. | |
| public Map | getMetadata()
Return the metadata entries for
|
| public Publisher | |
| public ParameterizedTypeReference | |
| public Object | |
| public String | |
| public Object[] |
| metadata | back to summary |
|---|---|
| private final Map<Object, MimeType> metadata | |
| payload | back to summary |
|---|---|
| private final Publisher<?> payload
| |
| payloadElementType | back to summary |
|---|---|
| private final ParameterizedTypeReference<?> payloadElementType
| |
| payloadValue | back to summary |
|---|---|
| private final Object payloadValue
| |
| route | back to summary |
|---|---|
| private final String route
| |
| routeVariables | back to summary |
|---|---|
| private final Object[] routeVariables | |
| RSocketRequestValues | back to summary |
|---|---|
| public RSocketRequestValues(String route, List<Object> routeVariables, RSocketRequestValues. | |
| builder | back to summary |
|---|---|
| public static RSocketRequestValues. | |
| getMetadata | back to summary |
|---|---|
| public Map Return the metadata entries for
| |
| getPayload | back to summary |
|---|---|
| public Publisher Return the request payload as a Publisher. This is mutually exclusive with
| |
| getPayloadElementType | back to summary |
|---|---|
| public ParameterizedTypeReference Return the element type for a Publisher payload.
| |
| getPayloadValue | back to summary |
|---|---|
| public Object getPayloadValue() Return the request payload as a value to be serialized, if set. This is mutually exclusive with
| |
| getRoute | back to summary |
|---|---|
| public String getRoute() Return the route value for
| |
| getRouteVariables | back to summary |
|---|---|
| public Object[] getRouteVariables() Return the route variables for
| |
RSocketRequestValues.
| Modifier and Type | Field and Description |
|---|---|
| private RSocketRequestValues. | |
| private Publisher | |
| private ParameterizedTypeReference | |
| private Object | |
| private String | |
| private List |
| Modifier and Type | Method and Description |
|---|---|
| public RSocketRequestValues. | |
| public RSocketRequestValues. | |
| public RSocketRequestValues. | |
| public RSocketRequestValues | |
| public <T, P extends Publisher | setPayload(P payload, ParameterizedTypeReference<T> elementTye)
Set the request payload value to be serialized. |
| public RSocketRequestValues. | |
| public RSocketRequestValues. |
| metadataHelper | back to summary |
|---|---|
| private RSocketRequestValues. | |
| payload | back to summary |
|---|---|
| private Publisher<?> payload
| |
| payloadElementType | back to summary |
|---|---|
| private ParameterizedTypeReference<?> payloadElementType
| |
| payloadValue | back to summary |
|---|---|
| private Object payloadValue
| |
| route | back to summary |
|---|---|
| private String route
| |
| routeVariables | back to summary |
|---|---|
| private List<Object> routeVariables
| |
| Builder | back to summary |
|---|---|
| pack-priv Builder(String route) | |
| addMetadata | back to summary |
|---|---|
| public RSocketRequestValues. Add a metadata entry.
This must be followed by a corresponding call to | |
| addMimeType | back to summary |
|---|---|
| public RSocketRequestValues. Set the mime type for a metadata entry.
This must be preceded by a call to | |
| addRouteVariable | back to summary |
|---|---|
| public RSocketRequestValues. Add a route variable. | |
| build | back to summary |
|---|---|
| public RSocketRequestValues build() Build the | |
| setPayload | back to summary |
|---|---|
| public <T, P extends Publisher Set the request payload value to be serialized. | |
| setPayloadValue | back to summary |
|---|---|
| public RSocketRequestValues. Set the request payload as a concrete value to be serialized. This is mutually exclusive with, and resets any previously set payload Publisher. | |
| setRoute | back to summary |
|---|---|
| public RSocketRequestValues. Set the route for the request. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Map | |
| public String |
| metadata | back to summary |
|---|---|
| private final List<Object> metadata | |
| mimeTypes | back to summary |
|---|---|
| private final List<MimeType> mimeTypes | |
| MetadataHelper | back to summary |
|---|---|
| private MetadataHelper() | |
| addMetadata | back to summary |
|---|---|
| public void addMetadata(Object metadata) | |
| addMimeType | back to summary |
|---|---|
| public void addMimeType(MimeType mimeType) | |
| toMap | back to summary |
|---|---|
| public Map | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |