Package lumis.service.seo.robotstxt
Class RobotsTxtServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- 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
- Version:
- $Revision: 16824 $ $Date: 2015-01-23 18:49:12 -0200 (Fri, 23 Jan 2015) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RobotsTxtServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classHttpServlet
- Throws:
ServletException
IOException
-
-