BasicSession
and for context inject a ContextualWebUserShell
into the session.public class ContextualSession<U extends User,S extends ContextualWebUserShell<U,org.apache.wicket.protocol.http.WebSession>> extends BasicSession<U,S>
BasicSession
that has the concept of a Context for convenience.
ContextualSession
uses a ContextualWebUserShell
getContext()
and setContext(Object)
refer to the shells context (to avid duplicate hierarchy of context)shell
Constructor and Description |
---|
ContextualSession(org.apache.wicket.Request request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContext()
Deprecated.
Additional context that maybe provided by the user in the Session
Note: CONTEXTS can be processed further, in the default design this is intended to be the raw COMTEXT set directly by the client Example: PersistenceConfiguration.Strategy 's use context for more advanced and custom scenarios
NOTE: THIS IS SAME AS ContextualWebUserShell.getContext() by default |
void |
setContext(Object context)
Deprecated.
Additional context that maybe provided by the user in the Session
Note: CONTEXTS can be processed further, in the default design this is intended to be the raw COMTEXT set directly by the client Example: PersistenceConfiguration.Strategy 's use context for more advanced and custom scenarios
NOTE: THIS IS SAME AS ContextualWebUserShell.setContext(Object) by default |
void |
setPartialContext(Object context)
Deprecated.
|
deriveUserId, extendShell, get, getAuthToken, getShell, getUser, getUserId, setAuthToken, setUser
cleanupComponentFeedbackMessages, cleanupFeedbackMessages, isCurrentRequestValid
attach, bind, clear, createAutoPageMap, createAutoPageMapName, currentCreateAutoPageMapCounter, detach, dirty, error, exists, findOrCreate, findOrCreate, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getAutoPageMapNamePrefix, getAutoPageMapNameSuffix, getClassResolver, getClientInfo, getDefaultPageMap, getFeedbackMessages, getId, getLocale, getMetaData, getPage, getPage, getPageFactory, getPageMaps, getSessionStore, getSizeInBytes, getStyle, incrementCreateAutoPageMapCounter, info, invalidate, invalidateNow, isSessionInvalidated, isTemporary, newPageMap, nextPageId, nextSequenceValue, pageMapForName, removeAttribute, removePageMap, replaceSession, set, setApplication, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, touch, unset, untouch, update, visitPageMaps, warn
public ContextualSession(org.apache.wicket.Request request)
public Object getContext()
PersistenceConfiguration.Strategy
's use context for more advanced and custom scenarios
ContextualWebUserShell.getContext()
by defaultpublic void setContext(Object context)
PersistenceConfiguration.Strategy
's use context for more advanced and custom scenarios
ContextualWebUserShell.setContext(Object)
by defaultpublic void setPartialContext(Object context)
Copyright © 2018. All rights reserved.