
io.datakernel.http.session.SessionStore Maven / Gradle / Ivy
package io.datakernel.http.session;
import io.datakernel.async.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);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy