Class PayloadExpressionArgumentResolver
java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.support.PayloadExpressionArgumentResolver
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,InitializingBean
,HandlerMethodArgumentResolver
public class PayloadExpressionArgumentResolver
extends AbstractExpressionEvaluator
implements HandlerMethodArgumentResolver
The
HandlerMethodArgumentResolver
for evaluating Payload.expression()
as a SpEL expression against message
and converting result to expected parameter type.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
- See Also:
-
Field Summary
Fields inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
EXPRESSION_PARSER, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveArgument
(MethodParameter parameter, Message<?> message) boolean
supportsParameter
(MethodParameter parameter) Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setBeanFactory, setConversionService
-
Constructor Details
-
PayloadExpressionArgumentResolver
public PayloadExpressionArgumentResolver()
-
-
Method Details
-
supportsParameter
- Specified by:
supportsParameter
in interfaceHandlerMethodArgumentResolver
-
resolveArgument
- Specified by:
resolveArgument
in interfaceHandlerMethodArgumentResolver
-