nl.tue.id.tim
Class HttpServer.HttpServerConnection
java.lang.Object
nl.tue.id.tim.HttpServer.HttpServerConnection
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- HttpServer
- class HttpServer.HttpServerConnection
- extends java.lang.Object
- implements java.lang.Runnable
Http server connection.
Description: this class represents the connection betwwen a particular
http client to the server. the connection runs in its own thread, serve the
comming http requests.
Copyright: Copyright (c) 2005 Jun Hu
Company: ID, TU/e
- Version:
- 1.0
- Author:
- Jun Hu
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRLF
static final java.lang.String CRLF
- See Also:
- Constant Field Values
serverLine
java.lang.String serverLine
entityBody
java.lang.String entityBody
statusLine
java.lang.String statusLine
contentLengthLine
java.lang.String contentLengthLine
contentTypeLine
java.lang.String contentTypeLine
client
java.net.Socket client
HttpServer.HttpServerConnection
HttpServer.HttpServerConnection(java.net.Socket client)
throws java.net.SocketException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable