cgl.hpsearch.util
Class HttpServer
java.lang.Object
cgl.hpsearch.util.HttpServer
- public class HttpServer
- extends Object
|
Method Summary |
static void |
main(String[] args)
-p- Port on which to run the server
-root - Root directory of server (Default: ./) |
void |
startServer()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServer
public HttpServer(int p,
String root)
main
public static void main(String[] args)
- -p- Port on which to run the server
-root - Root directory of server (Default: ./)
- Parameters:
args -
startServer
public void startServer()