org.tiogasolutions.app.standard.session.SessionStore Maven / Gradle / Ivy
package org.tiogasolutions.app.standard.session;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.core.Cookie;
import javax.ws.rs.core.NewCookie;
import javax.ws.rs.core.UriInfo;
public interface SessionStore {
Session newSession();
String getCookieName();
void remove(Cookie cookie);
void remove(String sessionId);
Session getSession(ContainerRequestContext requestContext);
NewCookie newSessionCookie(Session session, UriInfo uriInfo);
}