org.apache.cocoon.sitemap
Class SitemapServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.cocoon.sitemap.SitemapServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- public class SitemapServlet
- extends HttpServlet
Use this servlet as an entry point to Cocoon. It wraps the TreeProcessor
and delegates all requests to it.
- Version:
- $Id: SitemapServlet.html 1304280 2012-03-23 11:18:01Z ilgrosso $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processor
protected SitemapServlet.RequestProcessor processor
SitemapServlet
public SitemapServlet()
init
public void init()
throws ServletException
- Initialize the servlet. The main purpose of this method is creating a
configured
TreeProcessor
.
- Throws:
ServletException
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Process the incoming request using the Cocoon tree processor.
- Throws:
ServletException
IOException
destroy
public void destroy()
- See Also:
GenericServlet.destroy()
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.