Class SseExchange
- java.lang.Object
-
- cn.boboweike.carrot.dashboard.server.sse.SseExchange
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AbstractObjectSseExchange
public class SseExchange extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description SseExchange(HttpExchange httpExchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisClosed()voidsendMessage(String message)
-
-
-
Constructor Detail
-
SseExchange
public SseExchange(HttpExchange httpExchange) throws IOException
- Throws:
IOException
-
-
Method Detail
-
sendMessage
public void sendMessage(String message)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
isClosed
public boolean isClosed()
-
-