Package google.registry.module
Class ServletBase
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
google.registry.module.ServletBase
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- Direct Known Subclasses:
BackendServlet
,BsaServlet
,FrontendServlet
,PubApiServlet
,RegistryServlet
,ToolsServlet
public class ServletBase
extends jakarta.servlet.http.HttpServlet
Base for Servlets that handle all requests to our App Engine modules.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
ConstructorDescriptionServletBase
(RequestHandler<?> requestHandler, dagger.Lazy<com.google.monitoring.metrics.MetricReporter> metricReporter) -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
ServletBase
public ServletBase(RequestHandler<?> requestHandler, dagger.Lazy<com.google.monitoring.metrics.MetricReporter> metricReporter)
-
-
Method Details
-
init
public void init()- Overrides:
init
in classjakarta.servlet.GenericServlet
-
service
public void service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp) throws IOException - Overrides:
service
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
-