home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / servlet-api.jar / javax / servlet / http / HttpSessionBindingEvent.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-08-28  |  1.1 KB  |  30 lines

  1. package javax.servlet.http;
  2.  
  3. public class HttpSessionBindingEvent extends HttpSessionEvent {
  4.    private String name;
  5.    private Object value;
  6.  
  7.    public HttpSessionBindingEvent(HttpSession session, String name) {
  8.       super(session);
  9.       this.name = name;
  10.    }
  11.  
  12.    public HttpSessionBindingEvent(HttpSession session, String name, Object value) {
  13.       super(session);
  14.       this.name = name;
  15.       this.value = value;
  16.    }
  17.  
  18.    public HttpSession getSession() {
  19.       return super.getSession();
  20.    }
  21.  
  22.    public String getName() {
  23.       return this.name;
  24.    }
  25.  
  26.    public Object getValue() {
  27.       return this.value;
  28.    }
  29. }
  30.