javalightserver.bundled.httpd
Class HttpServer

java.lang.Object
  extended by javalightserver.bundled.httpd.HttpServer
All Implemented Interfaces:
java.lang.Runnable

public class HttpServer
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
HttpServer(int port, java.lang.String htdocs)
           
 
Method Summary
 void run()
           
 boolean running()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServer

public HttpServer(int port,
                  java.lang.String htdocs)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

running

public boolean running()

start

public void start()
           throws java.io.IOException
Throws:
java.io.IOException

stop

public void stop()