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

  • Method Details

    • getConsumerFilter

      public ConsumerFilter getConsumerFilter()
      Description copied from interface: Handler
      Conservative 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:
      getConsumerFilter in interface Handler<DeserializingMessage>
    • 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