Class CacheJspBean

    • Constructor Detail

      • CacheJspBean

        public CacheJspBean()
    • Method Detail

      • getManageCaches

        public String getManageCaches​(javax.servlet.http.HttpServletRequest request)
        Returns the page to manage caches
        Parameters:
        request - The HttpServletRequest
        Returns:
        The HTML code.
      • doResetCaches

        public static String doResetCaches​(javax.servlet.http.HttpServletRequest request)
                                    throws AccessDeniedException
        Process cache resetting
        Parameters:
        request - The HTTP request
        Returns:
        The URL to display when the process is done.
        Throws:
        AccessDeniedException - if the security token is invalid
      • doReloadProperties

        public String doReloadProperties​(javax.servlet.http.HttpServletRequest request)
                                  throws AccessDeniedException
        Reload all properties files of the application
        Parameters:
        request - The HTTP request
        Returns:
        The URL to display when the process is done.
        Throws:
        AccessDeniedException
      • getCacheInfos

        public String getCacheInfos​(javax.servlet.http.HttpServletRequest request)
        Gets cache infos for all caches
        Parameters:
        request - The HTTP request
        Returns:
        HTML formated cache infos
      • getConfirmToggleCache

        public String getConfirmToggleCache​(javax.servlet.http.HttpServletRequest request)
        Returns the page of confirmation for changing the cache activation
        Parameters:
        request - The Http Request
        Returns:
        the HTML page
      • doToggleCache

        public static String doToggleCache​(javax.servlet.http.HttpServletRequest request)
                                    throws AccessDeniedException
        Process cache toggle on/off
        Parameters:
        request - The HTTP request
        Returns:
        The URL to display when the process is done.
        Throws:
        AccessDeniedException - if the security token is invalid