public class PayloadsArgumentResolver extends AbstractExpressionEvaluator implements HandlerMethodArgumentResolver
HandlerMethodArgumentResolver
for resolving a Collection
of payloads
or expression against each payload
.
IMPORTANT: The Message
for argument resolution must contain a payload
as Collection
of Message
s.
EXPRESSION_PARSER, logger
Constructor and Description |
---|
PayloadsArgumentResolver() |
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