Class ServerSentEventHandler

    • Constructor Detail

      • ServerSentEventHandler

        public ServerSentEventHandler()
      • ServerSentEventHandler

        public ServerSentEventHandler​(java.lang.String contextPath)
    • Method Detail

      • handle

        public void handle​(com.sun.net.httpserver.HttpExchange httpExchange)
                    throws java.io.IOException
        Specified by:
        handle in interface com.sun.net.httpserver.HttpHandler
        Throws:
        java.io.IOException
      • createSseExchange

        protected abstract SseExchange createSseExchange​(com.sun.net.httpserver.HttpExchange httpExchange)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException