Class SnapshotConfluenceHttpSession
- java.lang.Object
-
- com.atlassian.confluence.internal.diagnostics.ipd.http.session.SnapshotConfluenceHttpSession
-
- All Implemented Interfaces:
ConfluenceHttpSession
public class SnapshotConfluenceHttpSession extends Object implements ConfluenceHttpSession
An implementation of ConfluenceUserSession that snapshots the value of anotherConfluenceHttpSession- Since:
- 8.1.0
-
-
Constructor Summary
Constructors Constructor Description SnapshotConfluenceHttpSession(String sessionId, String userName, Instant lastAccessTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()InstantgetLastAccessTime()StringgetUserName()StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceConfluenceHttpSession- Returns:
- the raw id of the session
-
getUserName
public String getUserName()
- Specified by:
getUserNamein interfaceConfluenceHttpSession- Returns:
- the name of the user who owns this session. NOTE : This can be null.
-
getLastAccessTime
public Instant getLastAccessTime()
- Specified by:
getLastAccessTimein interfaceConfluenceHttpSession- Returns:
- the last time the session was active or null if it's not known
-
-