Class WebsiteServlet

Object
GenericServlet
HttpServlet
WebsiteServlet
All Implemented Interfaces:
Servlet, ServletConfig, Serializable

@DeclareRoles({"player","deputy","guildmember","guildmaster","god"}) @WebServlet(urlPatterns={"*.html","/scripts/*"}) public class WebsiteServlet extends HttpServlet
See Also:
  • Field Summary

    Fields inherited from class HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doGet(HttpServletRequest request, HttpServletResponse response)
     
    void
     

    Methods inherited from class HttpServlet

    doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service

    Methods inherited from class GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebsiteServlet

      public WebsiteServlet()
  • Method Details

    • init

      public void init() throws ServletException
      Overrides:
      init in class GenericServlet
      Throws:
      ServletException
    • doGet

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