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
Exception
protected static AtomicReference<Throwable> launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer, CountDownLatch cleanupLatch) throws Exception
Exception
protected static void sleep(long millis)
public abstract void testDataOnlySse_InboundSseEvent() throws Exception
Exception
public abstract void testDataOnlySse_String() throws Exception
Exception
public abstract void testDataOnlySse_JsonObject() throws Exception
Exception
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.