Class DocumentHandlerDecorator.DocumentHandler
java.lang.Object
io.fluxzero.sdk.tracking.handling.DocumentHandlerDecorator.DocumentHandler
- All Implemented Interfaces:
Handler<DeserializingMessage>
- Enclosing class:
DocumentHandlerDecorator
protected class DocumentHandlerDecorator.DocumentHandler
extends Object
implements Handler<DeserializingMessage>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classNested classes/interfaces inherited from interface Handler
Handler.DelegatingHandler<M> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInvoker(DeserializingMessage message) Returns aHandlerInvokercapable of processing the given message, if available.Class<?> Returns the class of the handler's target object.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Handler
getHandlerMethodOrNull, getHandlerMethodPlanner, getHandlerMethodPlanOrNull, getInvokerOrNull, or
-
Constructor Details
-
DocumentHandler
protected DocumentHandler()
-
-
Method Details
-
getInvoker
Description copied from interface:HandlerReturns aHandlerInvokercapable of processing the given message, if available.- Specified by:
getInvokerin interfaceHandler<DeserializingMessage>- Parameters:
message- the message to be handled- Returns:
- an optional
HandlerInvokerif this handler can handle the message; otherwiseOptional.empty()
-
getTargetClass
Description copied from interface:HandlerReturns the class of the handler's target object. This may be used for reflective operations, logging, or framework-level behavior.- Specified by:
getTargetClassin interfaceHandler<DeserializingMessage>- Returns:
- the class of the handler's target
-