Class SiteEvent

    • Constructor Detail

      • SiteEvent

        public SiteEvent​(SiteContext siteContext)
        Create a new ApplicationEvent.
        Parameters:
        siteContext - the site's context
    • Method Detail

      • getLatestRequestEvent

        public static SiteEvent getLatestRequestEvent​(Class<? extends SiteEvent> eventClass,
                                                      javax.servlet.http.HttpServletRequest request)
        Returns the latest event of the specified class that has been fired during the handling of the request.
        Parameters:
        eventClass - the event class
        request - the request
        Returns:
        the latest request event