public abstract class AbstractSseTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
PORT |
| Constructor and Description |
|---|
AbstractSseTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static AtomicReference<Throwable> |
launchServer(CountDownLatch stopLatch,
Consumer<MyEventSource> consumer) |
protected static AtomicReference<Throwable> |
launchServer(CountDownLatch stopLatch,
Consumer<MyEventSource> consumer,
CountDownLatch cleanupLatch) |
protected static void |
sleep(long millis) |
abstract void |
testCommentOnlySse() |
abstract void |
testDataOnlySse_InboundSseEvent() |
abstract void |
testDataOnlySse_JsonObject() |
abstract void |
testDataOnlySse_String() |
abstract void |
testNamedEventSse() |
abstract void |
testServerClosesConnection() |
protected static AtomicReference<Throwable> launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer) throws Exception
Exceptionprotected static AtomicReference<Throwable> launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer, CountDownLatch cleanupLatch) throws Exception
Exceptionprotected static void sleep(long millis)
public abstract void testDataOnlySse_InboundSseEvent()
throws Exception
Exceptionpublic abstract void testDataOnlySse_String()
throws Exception
Exceptionpublic abstract void testDataOnlySse_JsonObject()
throws Exception
ExceptionCopyright © 2021 Eclipse Foundation. All rights reserved.