org.apache.xmlrpc
class WebServer.Connection extends Object implements Runnable
| Field Summary | |
|---|---|
| byte[] | buffer |
| BufferedInputStream | input |
| BufferedOutputStream | output |
| String | password |
| Socket | socket |
| String | user |
| Constructor Summary | |
|---|---|
| Connection(Socket socket) | |
| Method Summary | |
|---|---|
| void | parseAuth(String line) |
| String | readLine() |
| void | run() |
| void | writeBadRequest(String httpVersion, String httpMethod) |
| void | writeResponse(byte[] payload, String httpVersion, boolean keepAlive) |
| void | writeUnauthorized(String httpVersion, String httpMethod) |
Parameters: socket
Throws: IOException
Parameters: line
Returns:
Throws: IOException