Module io.jooby
Package io.jooby

Interface ServerSentEmitter.Handler

Enclosing interface:
ServerSentEmitter

public static interface ServerSentEmitter.Handler
Server-Sent event handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback with a readonly context and sse configurer.
  • Method Details

    • handle

      void handle(@NonNull ServerSentEmitter sse) throws Exception
      Callback with a readonly context and sse configurer.
      Parameters:
      sse - Server sent event.
      Throws:
      Exception - If something goes wrong.