クラス SessionsEndpoint
java.lang.ObjectSE
org.springframework.boot.actuate.session.SessionsEndpoint
@Endpoint
は、サーブレットスタック上の HTTP Session
に関する情報を公開します。- 導入:
- 2.0.0
- 作成者:
- Vedran Pavic
コンストラクターのサマリー
コンストラクターコンストラクター説明SessionsEndpoint
(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。SessionsEndpoint
(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) 新しいSessionsEndpoint
インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明void
deleteSession
(StringSE sessionId) getSession
(StringSE sessionId) sessionsForUsername
(StringSE username)
コンストラクターの詳細
SessionsEndpoint
@DeprecatedSE(since="3.3.0", forRemoval=true) public SessionsEndpoint(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessionRepository) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。3.3.0 以降、3.5.0 で削除されSessionsEndpoint(SessionRepository, FindByIndexNameSessionRepository)
を推奨新しいSessionsEndpoint
インスタンスを作成します。- パラメーター:
sessionRepository
- セッションリポジトリ
SessionsEndpoint
public SessionsEndpoint(org.springframework.session.SessionRepository<? extends org.springframework.session.Session> sessionRepository, org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> indexedSessionRepository) 新しいSessionsEndpoint
インスタンスを作成します。- パラメーター:
sessionRepository
- セッションリポジトリindexedSessionRepository
- インデックスされたセッションリポジトリ- 導入:
- 3.3.0
メソッドの詳細
sessionsForUsername
getSession
deleteSession
SessionsEndpoint(SessionRepository, FindByIndexNameSessionRepository)
を推奨