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>
  • Constructor Details

    • DocumentHandler

      protected DocumentHandler()
  • Method Details

    • getInvoker

      public Optional<HandlerInvoker> getInvoker(DeserializingMessage message)
      Description copied from interface: Handler
      Returns a HandlerInvoker capable of processing the given message, if available.
      Specified by:
      getInvoker in interface Handler<DeserializingMessage>
      Parameters:
      message - the message to be handled
      Returns:
      an optional HandlerInvoker if this handler can handle the message; otherwise Optional.empty()
    • getTargetClass

      public Class<?> getTargetClass()
      Description copied from interface: Handler
      Returns the class of the handler's target object. This may be used for reflective operations, logging, or framework-level behavior.
      Specified by:
      getTargetClass in interface Handler<DeserializingMessage>
      Returns:
      the class of the handler's target