Package org.springframework.session
Class SingleIndexResolver<S extends Session>
java.lang.Object
org.springframework.session.SingleIndexResolver<S>
- Type Parameters:
S
- the type of Session being handled
- All Implemented Interfaces:
IndexResolver<S>
- Direct Known Subclasses:
PrincipalNameIndexResolver
public abstract class SingleIndexResolver<S extends Session>
extends Object
implements IndexResolver<S>
Base class for
IndexResolver
s that resolve a single index.- Since:
- 2.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
resolveIndexesFor
(S session) Resolve indexes for the session.abstract String
resolveIndexValueFor
(S session)
-
Constructor Details
-
SingleIndexResolver
-
-
Method Details
-
getIndexName
-
resolveIndexValueFor
-
resolveIndexesFor
Description copied from interface:IndexResolver
Resolve indexes for the session.- Specified by:
resolveIndexesFor
in interfaceIndexResolver<S extends Session>
- Parameters:
session
- the session- Returns:
- a map of resolved indexes, never
null
-