/* * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net> * Distributed under the terms of either: * - the common development and distribution license (CDDL), v1.0; or * - the GNU Lesser General Public License, v2.1 or later */ package javax.winstone.servlet.http; /** * An object addition or removal notification * * @author <a href="mailto:rick_knowles@hotmail.com">Rick Knowles</a> */ public class HttpSessionBindingEvent extends HttpSessionEvent { private String name; private Object value; public HttpSessionBindingEvent(HttpSession session, String name) { super(session); this.name = name; } public HttpSessionBindingEvent(HttpSession session, String name, Object value) { this(session, name); this.value = value; } public String getName() { return this.name; } public Object getValue() { return this.value; } }