public class Session
extends org.apache.wicket.protocol.http.WebSession
Session subclass that keeps a ContactsDatabase. This is
necessary so that when user edits a Contact the change is isolated from other users.| Constructor and Description |
|---|
Session(org.apache.wicket.request.Request request)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ContactsDatabase |
getDatabase()
Returns the
ContactsDatabase. |
Locale |
getLocale() |
get, getClientInfo, invalidate, newBrowserInfoPagebind, clear, debug, detach, dirty, dirty, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isSessionInvalidated, isTemporary, newPageAccessSynchronizer, nextPageId, nextSequenceValue, onEvent, onInvalidate, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warnpublic Session(org.apache.wicket.request.Request request)
request - public ContactsDatabase getDatabase()
ContactsDatabase.ContactsDatabase instance.public Locale getLocale()
getLocale in class org.apache.wicket.SessionCopyright © 2015. All rights reserved.