Package httpserver.session
Interface RandomIdStore<T>
- All Superinterfaces:
SessionStore<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddeleteSession(HttpServerExchange exchange) voiddeleteSession(String sessionId) default booleanexistsSession(HttpServerExchange exchange) default TgetSession(HttpServerExchange exchange) default TgetSession(HttpServerExchange exchange, T defaultValue) default intretrieveSession(String sessionId) default voidsetSession(HttpServerExchange exchange, T session) voidstoreSession(String sessionId, T session) Methods inherited from interface httpserver.session.SessionStore
sessionCookieConfiguration, sessionCookieName
-
Method Details
-
lengthSessionId
default int lengthSessionId() -
prngSessionId
Random prngSessionId() -
storeSession
- Throws:
IOException
-
retrieveSession
- Throws:
IOException
-
deleteSession
- Throws:
IOException
-
setSession
- Specified by:
setSessionin interfaceSessionStore<T>- Throws:
IOException
-
existsSession
- Specified by:
existsSessionin interfaceSessionStore<T>
-
getSession
- Specified by:
getSessionin interfaceSessionStore<T>- Throws:
ForbiddenIOException
-
getSession
- Specified by:
getSessionin interfaceSessionStore<T>- Throws:
IOException
-
deleteSession
- Specified by:
deleteSessionin interfaceSessionStore<T>- Throws:
IOException
-