Class HandlerAdapter
java.lang.Object
org.springframework.pulsar.listener.adapter.HandlerAdapter
A wrapper for either an
InvocableHandlerMethod or
DelegatingInvocableHandler. All methods delegate to the underlying handler.-
Constructor Summary
ConstructorsConstructorDescriptionHandlerAdapter(org.springframework.messaging.handler.invocation.InvocableHandlerMethod invokerHandlerMethod) Construct an instance with the provided method.HandlerAdapter(DelegatingInvocableHandler delegatingHandler) Construct an instance with the provided delegating handler. -
Method Summary
Modifier and TypeMethodDescriptiongetBean()org.springframework.messaging.handler.invocation.InvocableHandlerMethodgetMethodAsString(Object payload)
-
Constructor Details
-
HandlerAdapter
public HandlerAdapter(org.springframework.messaging.handler.invocation.InvocableHandlerMethod invokerHandlerMethod) Construct an instance with the provided method.- Parameters:
invokerHandlerMethod- the method.
-
HandlerAdapter
Construct an instance with the provided delegating handler.- Parameters:
delegatingHandler- the handler.
-
-
Method Details