public class

DefaultRestUserSessionManager

extends Object
implements RestUserSessionManager
java.lang.Object
   ↳ com.atlassian.confluence.plugins.rest.manager.DefaultRestUserSessionManager

Summary

Public Constructors
DefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager)
Public Methods
UserHistoryList getUserHistory(Integer startIndex, Integer maxResults)
Returns user history which contains the list of content entities user recently visited.
UserSessionEntity getUserSession()
Returns a session representation for the currently logged in user
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.plugins.rest.manager.RestUserSessionManager

Public Constructors

public DefaultRestUserSessionManager (HttpContext httpContext, RestContentManager restContentManager)

Public Methods

public UserHistoryList getUserHistory (Integer startIndex, Integer maxResults)

Returns user history which contains the list of content entities user recently visited.

public UserSessionEntity getUserSession ()

Returns a session representation for the currently logged in user

Returns
  • the user session entity for the current user