public interface ValidatingSession extends Session
ValidatingSession
is a Session
that is capable of determining it is valid or not and
is able to validate itself if necessary.
Validation is usually an exercise of determining when the session was last accessed or modified and determining if
that time is longer than a specified allowed duration.Modifier and Type | Method and Description |
---|---|
boolean |
isValid() |
void |
validate() |
getAttribute, getAttributeKeys, getHost, getId, getLastAccessTime, getStartTimestamp, getTimeout, removeAttribute, setAttribute, setTimeout, stop, touch
boolean isValid()
void validate() throws InvalidSessionException
InvalidSessionException
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.