Class ProcessReq

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

    public class ProcessReq
    extends CMSServlet
    Display Generic Request detail to the user.
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessReq

        public ProcessReq()
        Process request.
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "processReq.template" to process the response. The initialization parameter 'parser' is read from the servlet configration, and is used to set the type of request. The value of this parameter can be:
        • CertReqParser.NODETAIL_PARSER - Show certificate Summary
        • CertReqParser.DETAIL_PARSER - Show certificate detail
        • KeyReqParser.PARSER - Show key archival detail
        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
      • process

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Process the HTTP request.
        • http.param seqNum
        • http.param doAssign reassign request. Value can be reassignToMe reassignToNobody
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request