Class SseExchange

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Direct Known Subclasses:
    AbstractObjectSseExchange

    public class SseExchange
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      SseExchange​(com.sun.net.httpserver.HttpExchange httpExchange)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean isClosed()  
      void sendMessage​(java.lang.String message)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SseExchange

        public SseExchange​(com.sun.net.httpserver.HttpExchange httpExchange)
                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • sendMessage

        public void sendMessage​(java.lang.String message)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • isClosed

        public boolean isClosed()