Class CheckRequest

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

    public class CheckRequest
    extends CMSServlet
    Check the status of a certificate request
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • FULL_RESPONSE

        public static java.lang.String FULL_RESPONSE
    • Method Detail

      • newCMSRequest

        public CMSRequest newCMSRequest()
        Description copied from class: CMSServlet
        Create a new CMSRequest object. This should be overriden by servlets implementing different types of request
        Overrides:
        newCMSRequest in class CMSServlet
        Returns:
        a new CMSRequest object
      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "requestStatus.template" to process the response.
        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 requestId ID of the request to check
        • http.param format if 'id', then check the request based on the request ID parameter. If set to CMC, then use the 'queryPending' parameter.
        • http.param queryPending query formatted as a CMC request
        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