public class GatewayServer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GatewayServer.TestGatewayApplication |
| Modifier and Type | Field and Description |
|---|---|
static io.searchbox.client.JestClient |
ES_CLIENT |
static GatewayServer |
gatewayServer |
| Constructor and Description |
|---|
GatewayServer(int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addModulesToJetty(org.eclipse.jetty.server.handler.ContextHandlerCollection handlers)
Configure the web application(s).
|
int |
getPort() |
void |
start()
Start/run the server.
|
void |
stop()
Stops the server.
|
public static GatewayServer gatewayServer
public static io.searchbox.client.JestClient ES_CLIENT
public GatewayServer(int port)
port - which port to run the test server onCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.