public class PayloadExpressionArgumentResolver extends AbstractExpressionEvaluator implements HandlerMethodArgumentResolver
HandlerMethodArgumentResolver
for evaluating Payload.expression()
as a SpEL expression against message
and converting result to expected parameter type.PayloadArgumentResolver
EXPRESSION_PARSER, logger
Constructor and Description |
---|
PayloadExpressionArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MethodParameter parameter,
Message<?> message) |
boolean |
supportsParameter(MethodParameter parameter) |
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setBeanFactory, setConversionService
public boolean supportsParameter(MethodParameter parameter)
supportsParameter
in interface HandlerMethodArgumentResolver
public Object resolveArgument(MethodParameter parameter, Message<?> message)
resolveArgument
in interface HandlerMethodArgumentResolver