lumis.service.seo.sitemap
Class SitemapServlet

Package class diagram package SitemapServlet
java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by lumis.service.seo.sitemap.SitemapServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SitemapServlet
extends HttpServlet

Serves the sitemap xml content.

This servlet expects that the URL ends with the sitemap filename. The sitemap service instance to be used is resolved from the sitemap filename. The service instance configured to serve that filename is used. If none is available, a not found (404) response is sent.

Since:
5.0.0
See Also:
Serialized Form

Constructor Summary
SitemapServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse resp)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapServlet

public SitemapServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse resp)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.