public class SimpleJettyHTTPServer extends Object
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jetty.server.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 bindingTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow