Simple create function used by createBySessionId.
Simple create function used by createBySessionId. For more advanced usage, extend createBySessionId.
the session id to create a Session for
Applies a new session id to an HttpConnection.
Applies a new session id to an HttpConnection. Creates a cookie and sets it on the HttpResponse.
the session id to apply
the HttpConnection to use
modified HttpConnection
Creates a new session by session id
Creates a new session by session id
the session id to create from
the HttpConnection to work with
a future SessionTransaction[Session]
Generates a unique id for use when creating a new session
Generates a unique id for use when creating a new session
Gets a session id if it already exists or creates a new one (and applies it on the HttpConnection) if it doesn't already exist.
Gets a session id if it already exists or creates a new one (and applies it on the HttpConnection) if it doesn't already exist.
the HttpConnection to use
a tuple with the potentially modified HttpConnection and the session id
Loads a session by id if available and creates a SessionTransaction wrapper
Loads a session by id if available and creates a SessionTransaction wrapper
the session id to load from
the HttpConnection to work with
a future SessionTransaction[Session] if one is persisted for this manager
Saves a potentially modified Session to this manager
Saves a potentially modified Session to this manager
the transaction to persist from
a potentially modified HttpConnection
Manages the entire transaction process of working with a session
Manages the entire transaction process of working with a session
the HttpConnection to work with
the transaction handling function to apply
true if the request can be modified
the final, modified HttpConnection
Retrieves the session id from the request / response cookies if available.
Retrieves the session id from the request / response cookies if available.
the HttpConnection to look in
the session id if found
Functional use of a Session via a transaction that is fully managed with the result being updated to the manager
Functional use of a Session via a transaction that is fully managed with the result being updated to the manager
the HttpConnection to work with
the functionality to work with and potentially modify a session instance
Future[Unit] since Connection cannot modify the state of HttpConnection
Functional use of a Session via a transaction that is fully managed with the result being updated to the manager
Functional use of a Session via a transaction that is fully managed with the result being updated to the manager
the HttpConnection to work with
the functionality to work with and potentially modify a session instance
potentially modified HttpConnection
In-Memory session that only lives as long as the server is running
the type of session