Interface IRequestLogger

    • Method Detail

      • getPeakSessions

        int getPeakSessions()
        Returns:
        The peak sessions counter
      • sessionCreated

        void sessionCreated​(String id)
        called when the session is created and has an id. (for http it means that the http session is created)
        Parameters:
        id - the session id
      • sessionDestroyed

        void sessionDestroyed​(String sessionId)
        Method used to cleanup a livesession when the session was invalidated by the webcontainer
        Parameters:
        sessionId - the session id
      • requestTime

        void requestTime​(long timeTaken)
        This method is called when the request is over. This will set the total time a request takes and cleans up the current request data.
        Parameters:
        timeTaken - the time taken in milliseconds
      • objectRemoved

        void objectRemoved​(Object value)
        Called to monitor removals of objects out of the ISessionStore
        Parameters:
        value - the object being removed
      • objectCreated

        void objectCreated​(Object value)
        Called to monitor additions of objects in the ISessionStore
        Parameters:
        value - the object being created/added
      • logResponseTarget

        void logResponseTarget​(org.apache.wicket.request.IRequestHandler target)
        Sets the target that was the response target for the current request
        Parameters:
        target - the response target
      • logEventTarget

        void logEventTarget​(org.apache.wicket.request.IRequestHandler target)
        Sets the target that was the event target for the current request
        Parameters:
        target - the event target
      • logRequestedUrl

        void logRequestedUrl​(String url)
        Logs the URL that was requested by the browser.
        Parameters:
        url - the requested URL