org.nuxeo.ecm.webengine.jaxrs.session
Class SessionFactory
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.session.SessionFactory
public class SessionFactory
- extends Object
- Author:
- Bogdan Stefanescu
SESSION_FACTORY_KEY
public static final String SESSION_FACTORY_KEY
SessionFactory
public SessionFactory()
setDefaultRepository
public static void setDefaultRepository(String repoName)
getRepositoryName
public static String getRepositoryName(HttpServletRequest request)
getCoreProvider
public static CoreSessionProvider<?> getCoreProvider(HttpServletRequest request)
dispose
public static void dispose(HttpServletRequest request)
getSession
public static CoreSession getSession()
getSession
public static CoreSession getSession(String repositoryName)
getSession
public static CoreSession getSession(HttpServletRequest request)
getSession
public static CoreSession getSession(HttpServletRequest request,
String repositoryName)
getSessionRef
public static SessionRef getSessionRef(HttpServletRequest request)
getSessionRef
public static SessionRef getSessionRef(HttpServletRequest request,
String repositoryName)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.