io.datakernel.http.session.SessionStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datakernel-http Show documentation
Show all versions of datakernel-http Show documentation
High-performance asynchronous HTTP clients and servers collection.
Package contains a bunch of different built-in servlets for request dispatching, loading of a static content, etc.
The newest version!
package io.datakernel.http.session;
import io.datakernel.promise.Promise;
import org.jetbrains.annotations.Nullable;
/**
* Basic session storage for the {@link SessionServlet}.
*/
public interface SessionStore {
Promise save(String sessionId, T sessionObject);
Promise<@Nullable T> get(String sessionId);
Promise remove(String sessionId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy