com.entrust.toolkit.util

Class HttpDirectoryServlet

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void config(javax.servlet.ServletConfig config)
      Provides the ServletConfig data to the servlet superclass without the requirement of calling super.init in the subclass.
      void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Call the doGet() method in HttpDirectoryServletEngine class.
      java.lang.String getServletInfo()
      Returns a short description of this servlet
      void init(javax.servlet.ServletConfig config)
      Overrides the init method in the servlet superclass.
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doOptions, doPost, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpDirectoryServlet

        public HttpDirectoryServlet()
    • Method Detail

      • init

        public void init(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Overrides the init method in the servlet superclass.

        This method attempts to establish a connection to the Directory at the IP address and port number specified in the servlet's configuration parameters (servlet.properties file) and throws an exception if it cannot establish a connection.

        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Parameters:
        config - the servlet configuration parameters
        Throws:
        javax.servlet.ServletException
      • config

        public void config(javax.servlet.ServletConfig config)
                    throws javax.servlet.ServletException
        Provides the ServletConfig data to the servlet superclass without the requirement of calling super.init in the subclass.

        This is used in place of super.init when overriding the init function.

        Parameters:
        config - the servlet configuration parameters
        Throws:
        javax.servlet.ServletException
      • getServletInfo

        public java.lang.String getServletInfo()
        Returns a short description of this servlet
        Specified by:
        getServletInfo in interface javax.servlet.Servlet
        Overrides:
        getServletInfo in class javax.servlet.GenericServlet
      • doGet

        public void doGet(javax.servlet.http.HttpServletRequest req,
                 javax.servlet.http.HttpServletResponse res)
                   throws javax.servlet.ServletException,
                          java.io.IOException

        Call the doGet() method in HttpDirectoryServletEngine class.

        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Parameters:
        req -
        res -
        Throws:
        javax.servlet.ServletException
        java.io.IOException
        See Also:
        HttpDirectoryServletEngine