Modifier and Type | Class and Description |
---|---|
static class |
SessionsEndpoint.SessionDescriptor
A description of user's
session . |
static class |
SessionsEndpoint.SessionsReport
A report of user's
sessions . |
Constructor and Description |
---|
SessionsEndpoint(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository)
Create a new
SessionsEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
void |
deleteSession(String sessionId) |
SessionsEndpoint.SessionDescriptor |
getSession(String sessionId) |
SessionsEndpoint.SessionsReport |
sessionsForUsername(String username) |
public SessionsEndpoint(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository)
SessionsEndpoint
instance.sessionRepository
- the session repository@ReadOperation public SessionsEndpoint.SessionsReport sessionsForUsername(String username)
@ReadOperation public SessionsEndpoint.SessionDescriptor getSession(@Selector String sessionId)
@DeleteOperation public void deleteSession(@Selector String sessionId)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.