Class sun.server.http.Dispatcher
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.http.Dispatcher

java.lang.Object
   |
   +----sun.server.http.Dispatcher

public class Dispatcher
extends Object
implements Servlet, Runnable
This Servlet manages the servlets which are downloaded from the network. It forks a seperate thread in a new thread group to call the servlet's initialize(), serviceRequest() and destroy() methods.

Constructor Index

 o Dispatcher(String, String)

Method Index

 o destroy()
 o getServletInfo()
 o init(ServletStub)
 o run()
 o service(ServletRequest, ServletResponse)
serviceRequest

Constructors

 o Dispatcher
  public Dispatcher(String code,
                    String codebase) throws Exception
Throws: Exception
exception

Methods

 o getServletInfo
  public String getServletInfo()
 o init
  public void init(ServletStub stub) throws ServletException
 o service
  public void service(ServletRequest req,
                      ServletResponse res) throws ServletException, IOException
serviceRequest
Throws: Exception
throws Exception
 o destroy
  public void destroy()
 o run
  public void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index