Interface ServerSentEventHandlerContext<T extends ServerSentEventHandler>


  • public interface ServerSentEventHandlerContext<T extends ServerSentEventHandler>
    A context class that gives access to all the active handlers for a Server-Sent Event path.
    Author:
    [email protected]
    • Method Detail

      • getPath

        String getPath()
        Returns the path for Server-Sent event handlers
        Returns:
        path for the Server-Sent event handlers
      • getHandlers

        Set<T> getHandlers()
        Returns all the active Server-Sent event handlers for a path
        Returns:
        all the active handlers