Class ProfileServlet

    • Constructor Detail

      • ProfileServlet

        public ProfileServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. Servlets implementing this method must specify the template to use as a parameter called "templatePath" in the servletConfig
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class CMSServlet
        Parameters:
        sc - servlet configuration, read from the web.xml file
        Throws:
        javax.servlet.ServletException
      • escapeXML

        protected java.lang.String escapeXML​(java.lang.String v)
      • outputArgValueAsXML

        protected void outputArgValueAsXML​(java.io.PrintStream ps,
                                           java.lang.String name,
                                           IArgValue v)
      • outputThisAsXML

        protected void outputThisAsXML​(java.io.ByteArrayOutputStream bos,
                                       ArgSet args)
      • outputTemplate

        public void outputTemplate​(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response,
                                   ArgSet args)
                            throws EBaseException
        Throws:
        EBaseException
      • outputTemplate

        public void outputTemplate​(boolean isXML,
                                   javax.servlet.http.HttpServletResponse response,
                                   ArgSet args)
                            throws EBaseException
        Throws:
        EBaseException
      • outputArgList

        protected void outputArgList​(java.io.PrintWriter writer,
                                     java.lang.String name,
                                     ArgList list)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • startTiming

        public void startTiming​(java.lang.String event)
      • endTiming

        public void endTiming​(java.lang.String event)
      • outputArgString

        protected void outputArgString​(java.io.PrintWriter writer,
                                       java.lang.String name,
                                       ArgString str)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • outputArgSet

        protected void outputArgSet​(java.io.PrintWriter writer,
                                    java.lang.String name,
                                    ArgSet set)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • outputData

        protected void outputData​(java.io.PrintWriter writer,
                                  ArgSet set)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • log

        protected void log​(LogCategory event,
                           int level,
                           java.lang.String msg)
        log according to authority category.
        Overrides:
        log in class CMSServlet
      • log

        protected void log​(int level,
                           java.lang.String msg)
        Overrides:
        log in class CMSServlet
      • getLocale

        protected java.util.Locale getLocale​(javax.servlet.http.HttpServletRequest req)
        Retrieves locale based on the request.
        Overrides:
        getLocale in class CMSServlet
      • renderResult

        protected void renderResult​(CMSRequest cmsReq)
                             throws java.io.IOException
        Description copied from class: CMSServlet
        Output a template. If an error occurs while outputing the template the exception template is used to display the error.
        Overrides:
        renderResult in class CMSServlet
        Parameters:
        cmsReq - the CS request
        Throws:
        java.io.IOException