Package com.networknt.session.jdbc
Class JdbcSessionManager
- java.lang.Object
-
- com.networknt.session.jdbc.JdbcSessionManager
-
- All Implemented Interfaces:
SessionManager
public class JdbcSessionManager extends Object implements SessionManager
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEPLOY_NAME
-
Constructor Summary
Constructors Constructor Description JdbcSessionManager(io.undertow.server.session.SessionConfig sessionConfig, SessionRepository sessionRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessioncreateSession(io.undertow.server.HttpServerExchange serverExchange)StringgetDeploymentName()SessiongetSession(io.undertow.server.HttpServerExchange serverExchange)SessiongetSession(String sessionId)Map<String,Session>getSessions()SessionremoveSession(io.undertow.server.HttpServerExchange serverExchange)voidremoveSession(String sessionId)
-
-
-
Field Detail
-
DEPLOY_NAME
public static final String DEPLOY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JdbcSessionManager
public JdbcSessionManager(io.undertow.server.session.SessionConfig sessionConfig, SessionRepository sessionRepository)
-
-
Method Detail
-
getDeploymentName
public String getDeploymentName()
- Specified by:
getDeploymentNamein interfaceSessionManager
-
createSession
public Session createSession(io.undertow.server.HttpServerExchange serverExchange)
- Specified by:
createSessionin interfaceSessionManager
-
getSession
public Session getSession(io.undertow.server.HttpServerExchange serverExchange)
- Specified by:
getSessionin interfaceSessionManager
-
getSession
public Session getSession(String sessionId)
- Specified by:
getSessionin interfaceSessionManager
-
removeSession
public Session removeSession(io.undertow.server.HttpServerExchange serverExchange)
- Specified by:
removeSessionin interfaceSessionManager
-
removeSession
public void removeSession(String sessionId)
- Specified by:
removeSessionin interfaceSessionManager
-
-