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 jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
WebsiteServlet
public WebsiteServlet()
-
-
Method Details
-
init
public void init() throws ServletException- Overrides:
initin classGenericServlet- Throws:
ServletException
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doGetin classHttpServlet- Throws:
ServletExceptionIOException
-