public class HttpServer extends Object
| Constructor and Description |
|---|
HttpServer(int port) |
public HttpServer(int port)
port - the server port where clients need to connec to.protected org.mortbay.jetty.Server getServer()
public String stop()
public int getPort()
public String start()
public boolean isStarted()
public boolean isStopped()
public void join()
public void addServlet(javax.servlet.http.HttpServlet servlet,
String ctxRoot)
Copyright © 2015 smartrics. All Rights Reserved.