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 AutoCloseable
Exception
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.