This project has retired. For details please refer to its
Attic page .
DispatcherServlet (Cocoon Servlet Service Implementation 1.3.3-SNAPSHOT API)
org.apache.cocoon.servletservice
Class DispatcherServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.cocoon.servletservice.DispatcherServlet
All Implemented Interfaces: Serializable , javax.servlet.Servlet, javax.servlet.ServletConfig
public class DispatcherServlet extends javax.servlet.http.HttpServlet
A servlet that dispatch to managed sevlets from the context Spring container.
It dispatch to servlets that has the property mountPath, and dispatches to the
servlet with the longest prefix of the request pathInfo.
This servlet will also initialize and destroy all the servlets that it finds
from the context container. This means that there must only be one dispatcher
servlet, otherwise the managed servlets will be initialized several times.
Since:
1.0.0
Version:
$Id: DispatcherServlet.html 1422810 2012-12-17 09:13:50Z ilgrosso $
See Also: Serialized Form
Method Summary
Map
getBlockServletMap ()
void
init ()
protected void
service (javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
DispatcherServlet
public DispatcherServlet ()
init
public void init ()
throws javax.servlet.ServletException
Overrides: init
in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException
service
protected void service (javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
Overrides: service
in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException
getBlockServletMap
public Map getBlockServletMap ()
Copyright © 1999-2012 The Apache Software Foundation . All Rights Reserved.