Class CheckCleanCache

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

    public class CheckCleanCache
    extends HttpBaseServlet
    Servlet to check if the browser cache needs to be cleaned once after an instance activation or deactivation. It returns a small javascript part with the instance activation status. Depending on a request parameter the response will be marked as cached (similar to images) or not-cached. By comparing the cached and non-cached response it is possible to see it the browser cache contains data from before the instance activation/deactivation.
    Author:
    huehner
    See Also:
    Serialized Form
    • Constructor Detail

      • CheckCleanCache

        public CheckCleanCache()
    • Method Detail

      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws IOException,
                           javax.servlet.ServletException
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Throws:
        IOException
        javax.servlet.ServletException