Class sun.server.http.HttpServerHandler
All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.http.HttpServerHandler
java.lang.Object
|
+----sun.server.ServerHandler
|
+----sun.server.http.HttpServerHandler
- public class HttpServerHandler
- extends ServerHandler
This class implements an HTTP server connection handler.
-
HttpServerHandler(HttpServer)
- Creates a new request handler for the specified server.
-
handleConnection(Socket)
- Handles a single HTTP connection from the client.
-
handleRequest()
- Handles a single HTTP request from the client.
HttpServerHandler
public HttpServerHandler(HttpServer server)
- Creates a new request handler for the specified server.
- Parameters:
- server - the server for this handler
handleConnection
protected void handleConnection(Socket s)
- Handles a single HTTP connection from the client.
- Parameters:
- s - the connection socket
- Throws: IOException
- If an I/O error has occurred.
- Overrides:
- handleConnection in class ServerHandler
handleRequest
public void handleRequest() throws IOException
- Handles a single HTTP request from the client.
All Packages Class Hierarchy This Package Previous Next Index