Class DefaultRestUserSessionManager
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.manager.DefaultRestUserSessionManager
- All Implemented Interfaces:
RestUserSessionManager
-
Constructor Summary
ConstructorDescriptionDefaultRestUserSessionManager
(HttpContext httpContext, RestContentManager restContentManager) -
Method Summary
Modifier and TypeMethodDescriptiongetUserHistory
(Integer startIndex, Integer maxResults) Returns user history which contains the list of content entities user recently visited.Returns a session representation for the currently logged in user
-
Constructor Details
-
DefaultRestUserSessionManager
public DefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager)
-
-
Method Details
-
getUserSession
Description copied from interface:RestUserSessionManager
Returns a session representation for the currently logged in user- Specified by:
getUserSession
in interfaceRestUserSessionManager
- Returns:
- the user session entity for the current user
-
getUserHistory
Description copied from interface:RestUserSessionManager
Returns user history which contains the list of content entities user recently visited.- Specified by:
getUserHistory
in interfaceRestUserSessionManager
- Returns:
-