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 org.eclipse.jetty.server.HttpConfiguration |
getHttpConfig(org.eclipse.jetty.server.Connector connector) |
abstract org.eclipse.jetty.server.Server |
getServer()
Returns the jetty server.
|
static int |
getSslConnectionPort(org.eclipse.jetty.server.Connector connector) |
static int |
getSslPort(org.eclipse.jetty.server.Connector connector) |
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 org.eclipse.jetty.server.HttpConfiguration getHttpConfig(org.eclipse.jetty.server.Connector connector)
public static int getSslPort(org.eclipse.jetty.server.Connector connector)
public static int getSslConnectionPort(org.eclipse.jetty.server.Connector connector)
Copyright © GigaSpaces.