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

com.genexus.servlet.http.HttpSession Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.3
Show newest version
package com.genexus.servlet.http;

import java.util.Enumeration;

public class HttpSession implements IHttpSession{
	private jakarta.servlet.http.HttpSession session;

	public HttpSession(jakarta.servlet.http.HttpSession session) {
		this.session = session;
	}

	public jakarta.servlet.http.HttpSession getWrappedClass() {
		return session;
	}

	public Object getAttribute(String name) {
		return session.getAttribute(name);
	}

	public void setAttribute(String name, Object value) {
		session.setAttribute(name, value);
	}

	public void removeAttribute(String name) {
		session.removeAttribute(name);
	}

	public Enumeration getAttributeNames() {
		return session.getAttributeNames();
	}

	public String getId() {
		return session.getId();
	}

	public void invalidate() {
		session.invalidate();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy