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

public Class DestinationVariableArgumentResolver

extends Object
implements RSocketServiceArgumentResolver
Class Inheritance
All Implemented Interfaces
org.springframework.messaging.rsocket.service.RSocketServiceArgumentResolver
Imports
java.util.Collection, org.springframework.core.MethodParameter, org.springframework.lang.Nullable, org.springframework.messaging.handler.annotation.DestinationVariable

RSocketServiceArgumentResolver for a @DestinationVariable annotated argument.

The argument is treated as a single route variable, or in case of a Collection or an array, as multiple route variables.

Author
Rossen Stoyanchev
Since
6.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
resolve(Object
the argument value
argument
,
MethodParameter
the method parameter for the argument
parameter
,
RSocketRequestValues.Builder
builder to add RSocket request values to
requestValues
)

Implements org.springframework.messaging.rsocket.service.RSocketServiceArgumentResolver.resolve.

Resolve the argument value.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DestinationVariableArgumentResolverback to summary
public DestinationVariableArgumentResolver()

Method Detail

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

Implements org.springframework.messaging.rsocket.service.RSocketServiceArgumentResolver.resolve.

Doc from org.springframework.messaging.rsocket.service.RSocketServiceArgumentResolver.resolve.

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

Annotations
@Override