Class ClientlibDebugConsolePlugin.Processor

  • Enclosing class:
    ClientlibDebugConsolePlugin

    protected class ClientlibDebugConsolePlugin.Processor
    extends Object
    Encapsulates stuff always needed during one request, to avoid passing it on through all methods as parameters.
    • Constructor Detail

      • Processor

        public Processor​(javax.servlet.http.HttpServletRequest request,
                         String impersonation,
                         PrintWriter writer)
    • Method Detail

      • printUsage

        protected void printUsage()
      • printLinkItem

        protected void printLinkItem​(String url)
      • printForm

        protected void printForm()
      • printVerification

        protected void printVerification()
      • printAllLibs

        protected void printAllLibs()
                             throws javax.servlet.ServletException,
                                    IOException
        Prints all client libraries readable for the impersonation user.
        Throws:
        javax.servlet.ServletException
        IOException
      • displayClientlibStructure

        protected void displayClientlibStructure​(ClientlibRef ref)
                                          throws IOException,
                                                 javax.servlet.ServletException
        Displays the structure of one clientlib as seen from the adminResolver - it's rendered like that, anyway.
        Throws:
        IOException
        javax.servlet.ServletException
      • normalizePath

        protected String normalizePath​(ClientlibRef ref,
                                       ClientlibElement clientlib)
        Returns the path as it would be in a clientlib reference: relative to search path or a category link