public interface RetrieveHttpSessionOperation
HttpSession
from the
HttpSessionStore
.Modifier and Type | Method and Description |
---|---|
void |
failedToRetreiveSession(Throwable cause)
Flags that failed to retrieve the
HttpSession from the
HttpSessionStore . |
String |
getSessionId()
Obtains the session Id of the
HttpSession to retrieve. |
void |
sessionNotAvailable()
Flags that the
HttpSession is not available in the
HttpSessionStore . |
void |
sessionRetrieved(long creationTime,
long expireTime,
Map<String,Serializable> attributes)
Flags that the
HttpSession was successfully retrieved from the
HttpSessionStore . |
String getSessionId()
HttpSession
to retrieve.HttpSession
to retrieve.void sessionRetrieved(long creationTime, long expireTime, Map<String,Serializable> attributes)
HttpSession
was successfully retrieved from the
HttpSessionStore
.creationTime
- Time the HttpSession
was created in the
HttpSessionStore
.expireTime
- Time to expire the HttpSession
should it be idle.attributes
- Attributes for the retrieved HttpSession
.void sessionNotAvailable()
Flags that the HttpSession
is not available in the
HttpSessionStore
.
Typically this is due to the HttpSession
timing out and being
invalidated.
void failedToRetreiveSession(Throwable cause)
HttpSession
from the
HttpSessionStore
.cause
- Cause of the failure.Copyright © 2005–2016. All rights reserved.