public class HttpLongPollingServer extends Object implements AsyncProcess
| Modifier and Type | Field and Description |
|---|---|
static String |
BLANK_URI |
static String |
NEXT_TEST_URI |
| Constructor and Description |
|---|
HttpLongPollingServer(DriverConfiguration config)
Configures and starts the HTTP server
|
| Modifier and Type | Method and Description |
|---|---|
long |
registerBrowserSession(LongPollingBrowser browser)
Registers the specified browser session with this HTTP server, so that this server knows how to respond to HTTP requests containing the
specified session's id.
|
void |
start() |
void |
stop() |
public static final String NEXT_TEST_URI
public static final String BLANK_URI
public HttpLongPollingServer(DriverConfiguration config) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void start()
throws org.junit.runners.model.InitializationError
start in interface AsyncProcessorg.junit.runners.model.InitializationErrorpublic long registerBrowserSession(LongPollingBrowser browser)
public void stop()
stop in interface AsyncProcessCopyright © 2015. All Rights Reserved.