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:
PayloadArgumentResolver
-
Field Summary
Fields inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
EXPRESSION_PARSER, logger
-
Constructor Summary
Constructors Constructor Description PayloadExpressionArgumentResolver()
-
Method Summary
Modifier and Type Method Description Object
resolveArgument(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
-