Class ContinuationHandlerMethodArgumentResolver
java.lang.Object
org.springframework.messaging.handler.annotation.reactive.ContinuationHandlerMethodArgumentResolver
- All Implemented Interfaces:
HandlerMethodArgumentResolver
public class ContinuationHandlerMethodArgumentResolver
extends Object
implements HandlerMethodArgumentResolver
No-op resolver for method arguments of type
Continuation
.- Since:
- 5.2
- Author:
- Sebastien Deleuze
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Object>
resolveArgument
(MethodParameter parameter, Message<?> message) Resolves a method parameter into an argument value from a given message.boolean
supportsParameter
(MethodParameter parameter) Whether the given method parameter is supported by this resolver.
-
Constructor Details
-
ContinuationHandlerMethodArgumentResolver
public ContinuationHandlerMethodArgumentResolver()
-
-
Method Details
-
supportsParameter
Description copied from interface:HandlerMethodArgumentResolver
Whether the given method parameter is supported by this resolver.- Specified by:
supportsParameter
in interfaceHandlerMethodArgumentResolver
- Parameters:
parameter
- the method parameter to check- Returns:
true
if this resolver supports the supplied parameter;false
otherwise
-
resolveArgument
public reactor.core.publisher.Mono<Object> resolveArgument(MethodParameter parameter, Message<?> message) Description copied from interface:HandlerMethodArgumentResolver
Resolves a method parameter into an argument value from a given message.- Specified by:
resolveArgument
in interfaceHandlerMethodArgumentResolver
- Parameters:
parameter
- the method parameter to resolve. This parameter must have previously been passed toHandlerMethodArgumentResolver.supportsParameter(org.springframework.core.MethodParameter)
which must have returnedtrue
.message
- the currently processed message- Returns:
Mono
for the argument value, possibly empty
-