public class Jetty9Runner extends Object
Jetty9Runner.| Constructor and Description |
|---|
Jetty9Runner() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.jetty.webapp.WebAppContext |
getWebAppContext(org.eclipse.jetty.server.Server server,
String projectname)
Gets the web app context.
|
static void |
run(de.alpharogroup.jetty9.runner.config.Jetty9RunConfiguration config)
Run a jetty server with the given parameters.
|
static void |
run(org.eclipse.jetty.server.Server server,
de.alpharogroup.jetty9.runner.config.Jetty9RunConfiguration config)
Run a jetty server with the given parameters.
|
static void |
run(org.eclipse.jetty.server.Server server,
org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort,
String keyStorePassword,
String keyStorePathResource)
Run a jetty server with the given parameters.
|
static void |
run(org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort,
String keyStorePassword)
Run a jetty server with the given parameters.
|
static void |
runServletContextHandler(org.eclipse.jetty.server.Server server,
de.alpharogroup.jetty9.runner.config.Jetty9RunConfiguration config)
Run a jetty server with the given parameters.
|
static void |
runWithNewServer(org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort)
Run with new server.
|
static void |
runWithNewServer(org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort,
String keyStorePassword)
Run with new server.
|
public static org.eclipse.jetty.webapp.WebAppContext getWebAppContext(org.eclipse.jetty.server.Server server,
String projectname)
server - the serverprojectname - the projectnamepublic static void run(de.alpharogroup.jetty9.runner.config.Jetty9RunConfiguration config)
config - the configpublic static void run(org.eclipse.jetty.server.Server server,
de.alpharogroup.jetty9.runner.config.Jetty9RunConfiguration config)
server - the serverconfig - the configpublic static void run(org.eclipse.jetty.server.Server server,
org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort,
String keyStorePassword,
String keyStorePathResource)
server - the serverservletContextHandler - the servlet context handlerhttpPort - the http porthttpsPort - the https portkeyStorePassword - the key store passwordkeyStorePathResource - the key store path resourcepublic static void run(org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort,
String keyStorePassword)
servletContextHandler - the servlet context handlerhttpPort - the http porthttpsPort - the https portkeyStorePassword - the key store passwordpublic static void runServletContextHandler(org.eclipse.jetty.server.Server server,
de.alpharogroup.jetty9.runner.config.Jetty9RunConfiguration config)
server - the serverconfig - the configpublic static void runWithNewServer(org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort)
servletContextHandler - the servlet context handlerhttpPort - the http porthttpsPort - the https portpublic static void runWithNewServer(org.eclipse.jetty.servlet.ServletContextHandler servletContextHandler,
int httpPort,
int httpsPort,
String keyStorePassword)
servletContextHandler - the servlet context handlerhttpPort - the http porthttpsPort - the https portkeyStorePassword - the key store passwordCopyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.