gnu.vnc
Class WebServer.WebServerSocket
java.lang.Object
|
+--gnu.vnc.WebServer.WebServerSocket
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- WebServer
- private class WebServer.WebServerSocket
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
private Socket socket
reader
private BufferedReader reader
print
private PrintStream print
WebServer.WebServerSocket
public WebServer.WebServerSocket(Socket socket)
throws IOException
run
public void run()
- Specified by:
run
in interface Runnable
processRequest
private void processRequest(boolean post,
String content)
throws IOException
IOException
printApplet
private void printApplet()
printNotFound
private void printNotFound()
printResource
private void printResource(String name)
throws IOException
IOException
toByteArray
private byte[] toByteArray(InputStream stream)
throws IOException
IOException