Class ServletEvent

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ServletErrorEvent, ServletInvocationEvent

public class ServletEvent extends ApplicationEvent
Generic servlet event.
See Also:
  • Constructor Details

    • ServletEvent

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

    • getServletName

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

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