Class ServerSentEventHandler

    • Constructor Detail

      • ServerSentEventHandler

        protected ServerSentEventHandler()
      • ServerSentEventHandler

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

      • getContextPath

        public java.lang.String getContextPath()
      • handle

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

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