public abstract class JettyHolder extends Object
Server
.Constructor and Description |
---|
JettyHolder() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnectors()
Closes Jetty ports.
|
static int |
getConfidentialPort(org.eclipse.jetty.server.Connector connector) |
static HttpConfiguration |
getHttpConfig(org.eclipse.jetty.server.Connector connector) |
abstract org.eclipse.jetty.server.Server |
getServer()
Returns the jetty server.
|
abstract boolean |
isSingleInstance()
Returns
true if this is a single instance. |
void |
openConnectors()
Open Jetty ports.
|
void |
start()
Start Jetty.
|
void |
stop()
Stops Jetty.
|
void |
updateConfidentialPort(int port,
int newPort) |
public abstract org.eclipse.jetty.server.Server getServer()
public abstract boolean isSingleInstance()
true
if this is a single instance.public void closeConnectors() throws Exception
Exception
public void start() throws Exception
stop()
Exception
public void updateConfidentialPort(int port, int newPort)
public static int getConfidentialPort(org.eclipse.jetty.server.Connector connector)
public static HttpConfiguration getHttpConfig(org.eclipse.jetty.server.Connector connector)
Copyright © GigaSpaces.