Class CoreSessionProvider<REF extends SessionRef>
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider<REF>
- Direct Known Subclasses:
PerRequestCoreProvider
,PerSessionCoreProvider
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CoreSession
createSession
(javax.servlet.http.HttpServletRequest request, String repoName) protected abstract REF
createSessionRef
(CoreSession session) protected void
destroy()
getSession
(javax.servlet.http.HttpServletRequest request, String repoName) getSessionRef
(javax.servlet.http.HttpServletRequest request, String repoName) boolean
protected abstract void
onRequestDone
(javax.servlet.http.HttpServletRequest request) The HTTP request was consumed.
-
Field Details
-
sessions
-
-
Constructor Details
-
CoreSessionProvider
protected CoreSessionProvider()
-
-
Method Details
-
onRequestDone
protected abstract void onRequestDone(javax.servlet.http.HttpServletRequest request) The HTTP request was consumed. Do any request level cleanup now. -
createSessionRef
-
getSessions
-
getSessionRef
-
getSession
-
createSession
-
hasSessions
public boolean hasSessions() -
destroy
protected void destroy()
-