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.

Constructor Index

 o HttpServerHandler(HttpServer)
Creates a new request handler for the specified server.

Method Index

 o handleConnection(Socket)
Handles a single HTTP connection from the client.
 o handleRequest()
Handles a single HTTP request from the client.

Constructors

 o HttpServerHandler
  public HttpServerHandler(HttpServer server)
Creates a new request handler for the specified server.
Parameters:
server - the server for this handler

Methods

 o 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
 o handleRequest
  public void handleRequest() throws IOException
Handles a single HTTP request from the client.

All Packages  Class Hierarchy  This Package  Previous  Next  Index