Class PushScriptServlet

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

    @StubDocs
    @DraftApi("might be better done on app or framework level (CDN, busters, ...)")
    @DraftCode("minify and compress, proper ETag parsing")
    public class PushScriptServlet
    extends com.machinezoo.hookless.servlets.ReactiveServlet
    Servlet for pushmode.js.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static String buster()  
      com.machinezoo.hookless.servlets.ReactiveServletResponse doGet​(com.machinezoo.hookless.servlets.ReactiveServletRequest request)  
      static String url()  
      • Methods inherited from class com.machinezoo.hookless.servlets.ReactiveServlet

        doDelete, doHead, doOptions, doPost, doPut, doTrace, executor, executor, service, service, toString
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class jakarta.servlet.GenericServlet

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

      • PushScriptServlet

        public PushScriptServlet()
    • Method Detail

      • buster

        public static String buster()
      • url

        public static String url()
      • doGet

        public com.machinezoo.hookless.servlets.ReactiveServletResponse doGet​(com.machinezoo.hookless.servlets.ReactiveServletRequest request)
        Overrides:
        doGet in class com.machinezoo.hookless.servlets.ReactiveServlet