play.mvc.SessionStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.mvc;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/** Implementations of session storage mechanisms. */
public interface SessionStore {
void save(
@Nonnull Scope.Session session,
@Nonnull Http.Request request,
@Nullable Http.Response response);
@Nonnull
Scope.Session restore(@Nonnull Http.Request request);
}