Package org.forgerock.http.session
Interface Session
-
- All Known Implementing Classes:
JwtCookieSession
public interface Session extends Map<String,Object>
An interface for managing attributes across multiple requests from the same user agent. Implementations should expose underlying container session attributes through this interface if applicable.New keys added to a session object should be named in a manner that avoids possible collision with keys added by other objects in the heap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
save(Response response)
Save the session state to the response.-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
save
void save(Response response) throws IOException
Save the session state to the response.- Parameters:
response
- TheResponse
instance to write the session state to.- Throws:
IOException
- If an I/O error occurs.
-
-