lumis.service.seo.robotstxt
Class RobotsTxtServlet

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

public class RobotsTxtServlet
extends HttpServlet

Servlet that detects the current url, and calculates which robots.txt information should be served.

Since:
5.0.0
See Also:
Serialized Form

Constructor Summary
RobotsTxtServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse resp)
          Based on the current request url detect which service robots.txt service instance should be rendered and render it.
 
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

RobotsTxtServlet

public RobotsTxtServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse resp)
              throws ServletException,
                     IOException
Based on the current request url detect which service robots.txt service instance should be rendered and render it.

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.