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

    Constructors
    Constructor
    Description
    ServletBase(RequestHandler<?> requestHandler, dagger.Lazy<com.google.monitoring.metrics.MetricReporter> metricReporter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp)
     

    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

    Methods inherited from class java.lang.Object

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

    • ServletBase

      public ServletBase(RequestHandler<?> requestHandler, dagger.Lazy<com.google.monitoring.metrics.MetricReporter> metricReporter)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class jakarta.servlet.GenericServlet
    • service

      public void service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp) throws IOException
      Overrides:
      service in class jakarta.servlet.http.HttpServlet
      Throws:
      IOException