Class PulsarNullAwarePayloadArgumentResolver
java.lang.Object
org.springframework.messaging.handler.annotation.support.PayloadMethodArgumentResolver
org.springframework.pulsar.annotation.PulsarNullAwarePayloadArgumentResolver
- All Implemented Interfaces:
HandlerMethodArgumentResolver
A
PayloadMethodArgumentResolver
that can properly decode PulsarNull
payloads into null.- Since:
- 1.0.1
- Author:
- Chris Bono
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isEmptyPayload
(Object payload) resolveArgument
(MethodParameter parameter, Message<?> message) Methods inherited from class org.springframework.messaging.handler.annotation.support.PayloadMethodArgumentResolver
resolveTargetClass, supportsParameter, validate
-
Method Details
-
resolveArgument
- Specified by:
resolveArgument
in interfaceHandlerMethodArgumentResolver
- Overrides:
resolveArgument
in classPayloadMethodArgumentResolver
- Throws:
Exception
-
isEmptyPayload
- Overrides:
isEmptyPayload
in classPayloadMethodArgumentResolver
-