Class DHtmlResourceServlet

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

    public class DHtmlResourceServlet
    extends jakarta.servlet.http.HttpServlet
    Used to receive ZK resource from the server

    Init parameters:

    compress
    It specifies whether to compress the output if the browser supports the compression (Accept-Encoding).
    Since:
    9.5.0
    Author:
    tomyeh, jameschu
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGet​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)  
      protected void doPost​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)  
      protected long getLastModified​(jakarta.servlet.http.HttpServletRequest request)  
      • Methods inherited from class jakarta.servlet.http.HttpServlet

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

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
      • Methods inherited from class java.lang.Object

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

      • DHtmlResourceServlet

        public DHtmlResourceServlet()
    • Method Detail

      • getLastModified

        protected long getLastModified​(jakarta.servlet.http.HttpServletRequest request)
        Overrides:
        getLastModified in class jakarta.servlet.http.HttpServlet
      • doGet

        protected void doGet​(jakarta.servlet.http.HttpServletRequest request,
                             jakarta.servlet.http.HttpServletResponse response)
                      throws jakarta.servlet.ServletException,
                             java.io.IOException
        Overrides:
        doGet in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        java.io.IOException
      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest request,
                              jakarta.servlet.http.HttpServletResponse response)
                       throws jakarta.servlet.ServletException,
                              java.io.IOException
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        java.io.IOException