rabbit.webserver
Class Connection
java.lang.Object
rabbit.webserver.Connection
public class Connection
- extends Object
A connection to a web client.
- Author:
- Robert Olofsson
Method Summary |
void |
readRequest()
Set up a http reader to listen for http request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Connection
public Connection(SimpleWebServer sws,
SocketChannel sc)
- Create a new Connection for the given web server and socket channel.
readRequest
public void readRequest()
throws IOException
- Set up a http reader to listen for http request.
- Throws:
IOException