public class HttpSseServer extends Object implements AutoCloseable
| Constructor and Description |
|---|
HttpSseServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
HttpSseServer |
start(int port,
Consumer<MyEventSource> consumer) |
void |
stop() |
public HttpSseServer start(int port, Consumer<MyEventSource> consumer)
public void stop()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.