public class STDavSessionProviderImpl extends java.lang.Object implements ReloadEventListener
| Constructor and Description |
|---|
STDavSessionProviderImpl()
the provider
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
attachSession(WebdavRequest request)
attach to session
|
protected STDavSession |
authenticate(HttpServletRequest httpServletRequest) |
void |
clearSession(Session session)
clear a session
|
void |
eventReload(DBObject reloaded)
check the cache as a session has been changed
|
static STDavSession |
getSTDavSession(WebClient client) |
void |
registerWatchedObject(DBObject holdObject)
prevent a session from being cleared out of memory
|
void |
releaseSession(WebdavRequest request)
release the session
|
protected void |
setSTDavSession(HttpServletRequest httpServletRequest,
STDavSession stDavSession) |
public static STDavSession getSTDavSession(WebClient client) throws DavException
client - the requestorg.apache.jackrabbit.webdav.DavExceptionDavExceptionprotected void setSTDavSession(HttpServletRequest httpServletRequest,
STDavSession stDavSession)
httpServletRequest - the requeststDavSession - the sessionprotected STDavSession authenticate(HttpServletRequest httpServletRequest) throws DavException
httpServletRequest - the requestorg.apache.jackrabbit.webdav.DavException - a problemDavExceptionpublic boolean attachSession(WebdavRequest request)
throws DavException
request - the requestorg.apache.jackrabbit.webdav.DavException - a problemDavExceptionpublic void releaseSession(WebdavRequest request)
request - the requestpublic void eventReload(@Nonnull
DBObject reloaded)
eventReload in interface ReloadEventListenerreloaded - the objectpublic void clearSession(Session session)
session - the session to clearpublic void registerWatchedObject(@Nonnull
DBObject holdObject)
registerWatchedObject in interface WatcherholdObject - the object to holdstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.