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