Interface MailboxReader.Context<T>

All Known Implementing Classes:
MailReaderUtil.Context
Enclosing interface:
MailboxReader

public static interface MailboxReader.Context<T>
Context that may be used by the MailboxReaderHandler to communicate to the MailboxReader and to store information while iterating.
  • Method Details

    • setResult

      void setResult(T result)
    • getResult

      T getResult()
    • setValue

      void setValue(String key, Object value)
    • getValue

      <T> Optional<T> getValue(String key)
    • stop

      void stop()
      Stops iterating over messages.