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.
-
Dispatcher(String, String)
-
-
destroy()
-
-
getServletInfo()
-
-
init(ServletStub)
-
-
run()
-
-
service(ServletRequest, ServletResponse)
- serviceRequest
Dispatcher
public Dispatcher(String code,
String codebase) throws Exception
- Throws: Exception
- exception
getServletInfo
public String getServletInfo()
init
public void init(ServletStub stub) throws ServletException
service
public void service(ServletRequest req,
ServletResponse res) throws ServletException, IOException
- serviceRequest
- Throws: Exception
- throws Exception
destroy
public void destroy()
run
public void run()
All Packages Class Hierarchy This Package Previous Next Index