public class SimpleJettyHTTPServer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.mortbay.jetty.Server |
webserver |
| Constructor and Description |
|---|
SimpleJettyHTTPServer(String bindAddress,
int port,
String webappRoot)
Create a new server, bound to the specified IP address (optional), the specified port,
and serving from the specified directory
|
public SimpleJettyHTTPServer(String bindAddress, int port, String webappRoot) throws IOException
bindAddress - - interface to bind to. Will bind to all addresses if null.port - - port to run the Jetty server on.webappRoot - - path location to run the webapps folderIOException - if problem in bindingpublic void stop()
throws InterruptedException
InterruptedExceptionTerrier 4.0. Copyright © 2004-2014 University of Glasgow