public class JettyRunner extends Object implements ServletContainerRunner
Constructor and Description |
---|
JettyRunner() |
JettyRunner(String webappFolder,
String contextPath,
int port,
int sslPort) |
Modifier and Type | Method and Description |
---|---|
JettyRunner |
configure(String webappFolder,
String contextPath,
int port,
int sslPort) |
protected String |
expand(String moduleLocalPath)
Needed inside Maven multi-projects to expand a path relative to the module to a complete
path.
|
org.eclipse.jetty.server.Server |
getServer() |
static void |
main(String[] args)
Main entrypoint used to run the Jetty instance from the command line.
|
void |
start() |
void |
stop()
Immediately shuts down the server instance.
|
String |
toString() |
public JettyRunner()
public JettyRunner(String webappFolder, String contextPath, int port, int sslPort) throws Exception
Exception
public JettyRunner configure(String webappFolder, String contextPath, int port, int sslPort) throws Exception
Exception
public void stop()
stop
in interface ServletContainerRunner
public org.eclipse.jetty.server.Server getServer()
protected String expand(String moduleLocalPath)
moduleLocalPath
- TapestryRunnerConstants.MODULE_BASE_DIR
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.