Class SearchReqs

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

    public class SearchReqs
    extends CMSServlet
    Search for requests matching complex query filter.
    See Also:
    Serialized Form
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • PROP_MAX_SEARCH_RETURNS

        protected static final java.lang.String PROP_MAX_SEARCH_RETURNS
        See Also:
        Constant Field Values
      • OUT_CURRENTCOUNT

        protected static final java.lang.String OUT_CURRENTCOUNT
        See Also:
        Constant Field Values
      • mFormPath

        protected java.lang.String mFormPath
      • mMaxReturns

        protected int mMaxReturns
      • mTimeLimits

        protected int mTimeLimits
    • Constructor Detail

      • SearchReqs

        public SearchReqs()
        Constructs query key servlet.
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        Initialize the servlet. This servlet uses queryReq.template to render 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
        Serves HTTP request. This format of this request is as follows: queryCert? [maxCount=] [queryFilter=] [revokeAll=]
        Overrides:
        process in class CMSServlet
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request