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

com.jdon.controller.context.web.HttpSessionWrapper Maven / Gradle / Ivy

Go to download

JdonFramework is a java framework that you can use to build your Domain Driven Design + CQRS + EventSource applications with asynchronous concurrency and higher throughput.

There is a newer version: 6.9
Show newest version
package com.jdon.controller.context.web;

import javax.servlet.http.HttpSession;

import com.jdon.controller.context.SessionWrapper;

public class HttpSessionWrapper implements SessionWrapper {
	
	private HttpSession session;

	public HttpSessionWrapper(HttpSession session) {
		super();
		this.session = session;
	}

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

	public void setAttribute(String key, Object o) {
		session.setAttribute(key, o);

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy