public class SessionBackend extends Object implements ISessionBackend
Parameters :
TYPE_BACKEND, TYPE_REQUEST_PROCESSOR| Constructor and Description |
|---|
SessionBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the backend.
|
String |
getId()
Get backend id.
|
void |
init(Map<String,String> config)
Initialize the backend using the specified configuration.
|
String |
isBufferingRequired()
Does this backend requires to buffer html.
|
ISessionData |
restore(javax.servlet.http.HttpServletRequest request)
Restores a session from the backend.
|
void |
save(ISessionData session,
List<String> dirtyAttributes,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves a session to the backend.
|
public void destroy()
IPluginpublic void init(Map<String,String> config) throws Exception
IPluginpublic String isBufferingRequired()
IPluginisBufferingRequired in interface IPluginpublic ISessionData restore(javax.servlet.http.HttpServletRequest request)
ISessionBackendrestore in interface ISessionBackendnet.sourceforge.statelessfilter.backend.session.ISessionBackend#restore(javax.servlet.http.HttpServletRequest)public void save(ISessionData session, List<String> dirtyAttributes, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
ISessionBackendsave in interface ISessionBackendsession - Current session.dirtyAttributes - list of attributes that were added/changed/removed during the
current request.request - Current request.response - Current response.IOExceptionISessionBackend.save(net.sourceforge.statelessfilter.backend.ISessionData,
java.util.List, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)Copyright © 2009–2013. All rights reserved.