Interface SessionMetaData

    • Method Detail

      • setLastAccess

        void setLastAccess​(Instant startTime,
                           Instant endTime)
        Sets the time this session was last accessed.
        Parameters:
        the - start time of the last request
        the - end time of the last request
      • setMaxInactiveInterval

        void setMaxInactiveInterval​(Duration duration)
        Set the time interval as a duration, after which this session will expire.
        Parameters:
        duration - a time duration