Package org.forgerock.http.session
Interface AsyncSessionManager
- All Known Implementing Classes:
- IdBasedSessionManager
public interface AsyncSessionManager
A session manager is responsible to create/save a new type of 
Session.- 
Method Summary
- 
Method Details- 
loadAsyncLoads a new Session for the givenRequest. The implementations are free to keep a reference to theRequest.The session object is scoped by the Request's own lifecycle.- Parameters:
- request- Request to create a session for.
- Returns:
- a new Session promise (never null).
 
- 
saveAsyncSaves the session into the provided response.- Parameters:
- session- The session to save.
- response- The response to save the session to.
- Returns:
- a promise completed with null if save operation succeeded, otherwise failed with an IOException.
 
 
-