|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.webserver.Connection
public class Connection
A connection to a web client.
| Constructor Summary | |
|---|---|
Connection(SimpleWebServer sws,
java.nio.channels.SocketChannel sc)
Create a new Connection for the given web server and socket channel. |
|
| 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 |
| Constructor Detail |
|---|
public Connection(SimpleWebServer sws,
java.nio.channels.SocketChannel sc)
sws - the web serversc - the channel for the request| Method Detail |
|---|
public void readRequest()
throws java.io.IOException
java.io.IOException - if reading the request fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||