public class WebServer extends GenericWebServer
In particular, Jetty will be started using keystore info from p2j config that is already in memory.
Modifier and Type | Field and Description |
---|---|
static int |
HTTPS_PORT
HTTPS default port for listening.
|
private static WebServer |
instance
Singleton instance of this class.
|
private static java.util.logging.Logger |
LOG
Anonymous log instance.
|
private int |
port
Server port in use.
|
Modifier | Constructor and Description |
---|---|
private |
WebServer(org.eclipse.jetty.server.Handler[] handlers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
initialize(org.eclipse.jetty.server.Handler[] handlers)
Called by StandardServer.loadStartup() to start the Web Server.
|
static void |
terminate()
Shutdown web server instance if any.
|
addHandler, addHandler, addWebSocketHandler, addWebSocketHandler, getContextPath, getHost, getPort, getSslContextFactory, isRunning, join, setBootstrapConfig, setContextPath, setKeyStore, shutdown, startup, startup
public static final int HTTPS_PORT
private static final java.util.logging.Logger LOG
private static WebServer instance
private int port