Class ServletEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      ServletEvent​(java.lang.Object source, javax.servlet.ServletContext context, java.lang.String servletName, java.lang.String servletClassName)
      ServletEvent contructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getServletClassName()
      Get the name of the servlet class that triggered this event.
      java.lang.String getServletName()
      Get the name of the servlet that triggered this event.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServletEvent

        public ServletEvent​(java.lang.Object source,
                            javax.servlet.ServletContext context,
                            java.lang.String servletName,
                            java.lang.String servletClassName)
        ServletEvent contructor.
        Parameters:
        source - the object that triggered this event.
        servletName - the name of the servlet that triggered the event.
    • Method Detail

      • getServletName

        public java.lang.String getServletName()
        Get the name of the servlet that triggered this event.
      • getServletClassName

        public java.lang.String getServletClassName()
        Get the name of the servlet class that triggered this event.