@Singleton public class ServerSessionManager extends Object implements SessionManager
Constructor and Description |
---|
ServerSessionManager(com.typesafe.config.Config config,
Session.Definition def,
Session.Store store,
ParserExecutor resolver) |
Modifier and Type | Method and Description |
---|---|
Cookie.Definition |
cookie() |
Session |
create(Request req,
Response rsp) |
void |
destroy(Session session) |
Session |
get(Request req,
Response rsp) |
void |
requestDone(Session session) |
@Inject public ServerSessionManager(com.typesafe.config.Config config, Session.Definition def, Session.Store store, ParserExecutor resolver)
public Session create(Request req, Response rsp)
create
in interface SessionManager
public Session get(Request req, Response rsp)
get
in interface SessionManager
public void destroy(Session session)
destroy
in interface SessionManager
public void requestDone(Session session)
requestDone
in interface SessionManager
public Cookie.Definition cookie()
cookie
in interface SessionManager
Copyright © 2017. All rights reserved.