Interface SessionExpirationMetaData

    • Method Detail

      • isExpired

        default boolean isExpired()
        Indicates whether or not this session was previously idle for longer than the maximum inactive interval.
        Returns:
        true, if this session is expired, false otherwise
      • getLastAccessEndTime

        Instant getLastAccessEndTime()
        Returns the end time of the last request to access this session.
        Returns:
        the end time of the last request to access this session.
      • getMaxInactiveInterval

        Duration getMaxInactiveInterval()
        Returns the time interval since getLastAccessEndTime() after which this session will expire.
        Returns:
        a time interval