Connection (RabbIT/4)
Date: 2009-12-20

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.webserver
Class Connection

    java.lang.Object
      rabbit.webserver.Connection

    public class Connection

extends Object

A connection to a web client.

Author:
  Robert Olofsson

Constructor Summary
`Connection(SimpleWebServer sws, 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

### Connection

    public Connection(SimpleWebServer sws,
                      SocketChannel sc)

  Create a new Connection for the given web server and socket channel.

Method Detail

### readRequest

    public void readRequest()
                     throws IOException

  Set up a http reader to listen for http request.

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD