
net.sf.jstuff.integration.servlet.session.SessionMap Maven / Gradle / Ivy
/*
* Copyright 2010-2022 by Sebastian Thomschke and contributors.
* SPDX-License-Identifier: EPL-2.0
*/
package net.sf.jstuff.integration.servlet.session;
import java.util.Map;
/**
* @author Sebastian Thomschke
*/
public interface SessionMap extends Map {
Object get(String key, Object defaultValueIfNull);
/**
* @return true if an underlying HTTP session exists already
*/
boolean exists();
/**
* @return the session Id
*/
Object getId();
/**
* invalidates the underlying HTTP session
*/
void invalidate();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy