protected class PageStoreManager.PersistentRequestAdapter extends RequestAdapter
Constructor and Description |
---|
PersistentRequestAdapter(IPageManagerContext context)
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected IManageablePage |
getPage(int id)
Returns the page with specified id.
|
protected void |
newSessionCreated()
Notification on new session being created.
|
protected void |
removePage(IManageablePage page)
Removes a page from the cache and the stores (
IPageStore and
IDataStore ). |
protected void |
storeTouchedPages(List<IManageablePage> touchedPages)
Store the list of stateful pages.
|
bind, clear, commitRequest, endRequest, findPage, getSessionAttribute, getSessionId, setSessionAttribute, touch, untouch
public PersistentRequestAdapter(IPageManagerContext context)
context
- protected IManageablePage getPage(int id)
RequestAdapter
RequestAdapter
during
the rest of request processing.getPage
in class RequestAdapter
null
if the page does not exist.protected void removePage(IManageablePage page)
RequestAdapter
IPageStore
and
IDataStore
). Any attempt to access it later
will lead to PageExpiredException
removePage
in class RequestAdapter
page
- The page instance to removeprotected void newSessionCreated()
RequestAdapter
newSessionCreated
in class RequestAdapter
protected void storeTouchedPages(List<IManageablePage> touchedPages)
RequestAdapter
storeTouchedPages
in class RequestAdapter
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.