Class NullAwarePayloadArgumentResolver
java.lang.Object
org.springframework.messaging.handler.annotation.support.PayloadMethodArgumentResolver
org.springframework.integration.support.NullAwarePayloadArgumentResolver
- All Implemented Interfaces:
HandlerMethodArgumentResolver
A
PayloadMethodArgumentResolver
that treats KafkaNull payloads as null.
@Paylaod
annotation must have required = false.- Since:
- 5.1
- Author:
- Gary Russell
-
Constructor Summary
ConstructorDescriptionNullAwarePayloadArgumentResolver
(MessageConverter messageConverter) NullAwarePayloadArgumentResolver
(MessageConverter messageConverter, Validator validator) -
Method Summary
Methods inherited from class org.springframework.messaging.handler.annotation.support.PayloadMethodArgumentResolver
resolveArgument, resolveTargetClass, supportsParameter, validate
-
Constructor Details
-
NullAwarePayloadArgumentResolver
-
NullAwarePayloadArgumentResolver
-
-
Method Details
-
isEmptyPayload
- Overrides:
isEmptyPayload
in classPayloadMethodArgumentResolver
-