Class PerSessionCoreProvider
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider<PerSessionCoreProvider.Ref>
-
- org.nuxeo.ecm.webengine.jaxrs.session.impl.PerSessionCoreProvider
-
- All Implemented Interfaces:
EventListener,javax.servlet.http.HttpSessionBindingListener
public class PerSessionCoreProvider extends CoreSessionProvider<PerSessionCoreProvider.Ref> implements javax.servlet.http.HttpSessionBindingListener
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerSessionCoreProvider.Ref
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider
sessions
-
-
Constructor Summary
Constructors Constructor Description PerSessionCoreProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PerSessionCoreProvider.RefcreateSessionRef(CoreSession session)protected voiddestroy()SessionRefgetSessionRef(javax.servlet.http.HttpServletRequest request, String repoName)SessionRef[]getSessions()booleanhasSessions()static voidinstall(javax.servlet.http.HttpServletRequest request)voidonRequestDone(javax.servlet.http.HttpServletRequest request)The HTTP request was consumed.voidvalueBound(javax.servlet.http.HttpSessionBindingEvent event)voidvalueUnbound(javax.servlet.http.HttpSessionBindingEvent event)-
Methods inherited from class org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider
createSession, getSession
-
-
-
-
Constructor Detail
-
PerSessionCoreProvider
public PerSessionCoreProvider()
-
-
Method Detail
-
install
public static void install(javax.servlet.http.HttpServletRequest request)
-
createSessionRef
protected PerSessionCoreProvider.Ref createSessionRef(CoreSession session)
- Specified by:
createSessionRefin classCoreSessionProvider<PerSessionCoreProvider.Ref>
-
onRequestDone
public void onRequestDone(javax.servlet.http.HttpServletRequest request)
Description copied from class:CoreSessionProviderThe HTTP request was consumed. Do any request level cleanup now.- Specified by:
onRequestDonein classCoreSessionProvider<PerSessionCoreProvider.Ref>
-
valueBound
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
valueBoundin interfacejavax.servlet.http.HttpSessionBindingListener
-
valueUnbound
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
valueUnboundin interfacejavax.servlet.http.HttpSessionBindingListener
-
getSessions
public SessionRef[] getSessions()
- Overrides:
getSessionsin classCoreSessionProvider<PerSessionCoreProvider.Ref>
-
getSessionRef
public SessionRef getSessionRef(javax.servlet.http.HttpServletRequest request, String repoName)
- Overrides:
getSessionRefin classCoreSessionProvider<PerSessionCoreProvider.Ref>
-
hasSessions
public boolean hasSessions()
- Overrides:
hasSessionsin classCoreSessionProvider<PerSessionCoreProvider.Ref>
-
destroy
protected void destroy()
- Overrides:
destroyin classCoreSessionProvider<PerSessionCoreProvider.Ref>
-
-