Top Description Methods
org.springframework.messaging.rsocket.service

public Interface RSocketServiceArgumentResolver

Known Direct Implementers
org.springframework.messaging.rsocket.service.DestinationVariableArgumentResolver, org.springframework.messaging.rsocket.service.MetadataArgumentResolver, org.springframework.messaging.rsocket.service.PayloadArgumentResolver
Imports
org.springframework.core.MethodParameter, org.springframework.lang.Nullable

Resolve an argument from an @RSocketExchange-annotated method to one or more RSocket request values.
Author
Rossen Stoyanchev
Since
6.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the argument was resolved, false otherwise
resolve
(Object
the argument value
argument
,
MethodParameter
the method parameter for the argument
parameter
,
RSocketRequestValues.Builder
builder to add RSocket request values to
requestValues
)

Resolve the argument value.

Method Detail

resolveback to summary
public boolean resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues)

Resolve the argument value.

Parameters
argument:Object

the argument value

parameter:MethodParameter

the method parameter for the argument

requestValues:RSocketRequestValues.Builder

builder to add RSocket request values to

Returns:boolean

true if the argument was resolved, false otherwise