All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.datakernel.http.session.SessionStore Maven / Gradle / Ivy

Go to download

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