public abstract class CoreSessionProvider<REF extends SessionRef> extends Object
Modifier | Constructor and Description |
---|---|
protected |
CoreSessionProvider() |
Modifier and Type | Method and 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.
|
protected Map<String,REF extends SessionRef> sessions
protected CoreSessionProvider()
protected abstract void onRequestDone(javax.servlet.http.HttpServletRequest request)
protected abstract REF createSessionRef(CoreSession session)
public SessionRef[] getSessions()
public SessionRef getSessionRef(javax.servlet.http.HttpServletRequest request, String repoName)
public CoreSession getSession(javax.servlet.http.HttpServletRequest request, String repoName)
protected CoreSession createSession(javax.servlet.http.HttpServletRequest request, String repoName)
public boolean hasSessions()
protected void destroy()
Copyright © 2015 Nuxeo SA. All rights reserved.