Class GetDomainXML

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.netscape.cms.servlet.base.CMSServlet
com.netscape.cms.servlet.csadmin.GetDomainXML
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GetDomainXML extends CMSServlet
See Also:
  • Field Details

    • logger

      public static org.slf4j.Logger logger
  • Constructor Details

    • GetDomainXML

      public GetDomainXML()
  • Method Details

    • init

      public void init(javax.servlet.ServletConfig sc) throws javax.servlet.ServletException
      initialize the servlet.
      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

      protected void process(CMSRequest cmsReq) throws EBaseException
      Process the HTTP request.
      • http.param op 'downloadBIN' - return the binary certificate chain
      • http.param op 'displayIND' - display pretty-print of certificate chain components
      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
    • setDefaultTemplates

      protected void setDefaultTemplates(javax.servlet.ServletConfig sc)
      Description copied from class: CMSServlet
      set default templates. subclasses can override, and should override at least the success template
      Overrides:
      setDefaultTemplates in class CMSServlet
    • renderTemplate

      protected void renderTemplate(CMSRequest cmsReq, String templateName, ICMSTemplateFiller filler) throws IOException
      Overrides:
      renderTemplate in class CMSServlet
      Throws:
      IOException
    • renderResult

      protected void renderResult(CMSRequest cmsReq) throws 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:
      IOException
    • getLocale

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