Interface RSocketServiceArgumentResolver
- All Known Implementing Classes:
DestinationVariableArgumentResolver
,MetadataArgumentResolver
,PayloadArgumentResolver
public interface RSocketServiceArgumentResolver
Resolve an argument from an
@RSocketExchange
-annotated
method to one or more RSocket request values.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve
(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) Resolve the argument value.
-
Method Details
-
resolve
boolean resolve(@Nullable Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) Resolve the argument value.- Parameters:
argument
- the argument valueparameter
- the method parameter for the argumentrequestValues
- builder to add RSocket request values to- Returns:
true
if the argument was resolved,false
otherwise
-