Class GetTransportCert

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

    public class GetTransportCert
    extends CMSServlet
    This servlet retrieves the transport certificate from DRM.
    See Also:
    Serialized Form
    • Constructor Detail

      • GetTransportCert

        public GetTransportCert()
    • Method Detail

      • 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
      • 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
      • 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
      • getLocale

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