Class HttpSseServer
java.lang.Object
org.eclipse.microprofile.rest.client.tck.sse.HttpSseServer
- All Implemented Interfaces:
AutoCloseable
HTTP server which fires server sent events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()start(int port, Consumer<MyEventSource> consumer) voidstop()
-
Constructor Details
-
HttpSseServer
public HttpSseServer()
-
-
Method Details
-
start
-
stop
public void stop() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-