Class WarmupServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class WarmupServlet
    extends javax.servlet.http.HttpServlet
    WarmupServlet does very little. It primarily serves as a placeholder that is mapped to the warmup path (/_ah/warmup) and is marked <load-on-startup%gt;. This causes all other <load-on-startup%gt; servlets to be initialized during warmup requests.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WarmupServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init()  
      void service​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class javax.servlet.http.HttpServlet

        service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • WarmupServlet

        public WarmupServlet()
    • Method Detail

      • init

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

        public void service​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws IOException
        Throws:
        IOException