se.sics.jipv6.http
Class HttpServer
java.lang.Object
se.sics.jipv6.http.HttpServer
- All Implemented Interfaces:
- Runnable, TCPListener
public class HttpServer
- extends Object
- implements TCPListener, Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServer
public HttpServer(IPStack stack)
connectionClosed
public void connectionClosed(TCPConnection connection)
- Specified by:
connectionClosed
in interface TCPListener
newConnection
public void newConnection(TCPConnection connection)
- Specified by:
newConnection
in interface TCPListener
tcpDataReceived
public void tcpDataReceived(TCPConnection source,
TCPPacket packet)
- Specified by:
tcpDataReceived
in interface TCPListener
registerServlet
public void registerServlet(String path,
HttpServlet servlet)
run
public void run()
- Specified by:
run
in interface Runnable
printStatus
public void printStatus(PrintStream out)