public class PerSessionCoreProvider extends CoreSessionProvider<PerSessionCoreProvider.Ref> implements javax.servlet.http.HttpSessionBindingListener
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
PerSessionCoreProvider.Ref  | 
sessions| Constructor and Description | 
|---|
PerSessionCoreProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected PerSessionCoreProvider.Ref | 
createSessionRef(CloseableCoreSession session)  | 
protected void | 
destroy()  | 
SessionRef | 
getSessionRef(javax.servlet.http.HttpServletRequest request,
             String repoName)  | 
SessionRef[] | 
getSessions()  | 
boolean | 
hasSessions()  | 
static void | 
install(javax.servlet.http.HttpServletRequest request)  | 
void | 
onRequestDone(javax.servlet.http.HttpServletRequest request)
The HTTP request was consumed. 
 | 
void | 
valueBound(javax.servlet.http.HttpSessionBindingEvent event)  | 
void | 
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)  | 
createSession, getSessionpublic PerSessionCoreProvider()
public static void install(javax.servlet.http.HttpServletRequest request)
protected PerSessionCoreProvider.Ref createSessionRef(CloseableCoreSession session)
createSessionRef in class CoreSessionProvider<PerSessionCoreProvider.Ref>public void onRequestDone(javax.servlet.http.HttpServletRequest request)
CoreSessionProvideronRequestDone in class CoreSessionProvider<PerSessionCoreProvider.Ref>public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListenerpublic SessionRef[] getSessions()
getSessions in class CoreSessionProvider<PerSessionCoreProvider.Ref>public SessionRef getSessionRef(javax.servlet.http.HttpServletRequest request, String repoName)
getSessionRef in class CoreSessionProvider<PerSessionCoreProvider.Ref>public boolean hasSessions()
hasSessions in class CoreSessionProvider<PerSessionCoreProvider.Ref>protected void destroy()
destroy in class CoreSessionProvider<PerSessionCoreProvider.Ref>Copyright © 2019 Nuxeo. All rights reserved.