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 classprotected classNested classes/interfaces inherited from interface Handler
Handler.DelegatingHandler<M> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConservative delivery metadata for this handler.getInvoker(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
-
-
Method Details
-
getConsumerFilter
Description copied from interface:HandlerConservative delivery metadata for this handler. Null means that matching cannot safely be narrowed. Custom handlers and decorators may opt in only when this describes every input they can accept.- Specified by:
getConsumerFilterin interfaceHandler<DeserializingMessage>
-
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
-