Interface InputHandler.Session

All Superinterfaces:
AutoCloseable
Enclosing interface:
InputHandler

public static interface InputHandler.Session extends AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    Handle a series of input requests.
  • Method Details

    • handleInput

      Properties handleInput(InputRequest[] requests)
      Handle a series of input requests. The series is intended to be short and simple such as username and password.
      Parameters:
      requests - The requests.
      Returns:
      The results. These are serializable so they can be persisted by Oddjob.
    • close

      default void close()
      Specified by:
      close in interface AutoCloseable