Class SessionInformationExpiredEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.web.session.SessionInformationExpiredEvent
All Implemented Interfaces:
Serializable

public final class SessionInformationExpiredEvent extends org.springframework.context.ApplicationEvent
An event for when a SessionInformation is expired.
Since:
4.2
See Also:
  • Constructor Details

    • SessionInformationExpiredEvent

      public SessionInformationExpiredEvent(SessionInformation sessionInformation, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Creates a new instance
      Parameters:
      sessionInformation - the SessionInformation that is expired
      request - the HttpServletRequest
      response - the HttpServletResponse
  • Method Details

    • getRequest

      public jakarta.servlet.http.HttpServletRequest getRequest()
      Returns:
      the request
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
      Returns:
      the response
    • getSessionInformation

      public SessionInformation getSessionInformation()