1 17 18 package javax.servlet.http; 19 20 21 22 43 44 public class HttpSessionBindingEvent extends HttpSessionEvent { 45 46 47 48 49 50 51 private String name; 52 53 54 55 private Object value; 56 57 58 59 76 77 public HttpSessionBindingEvent(HttpSession session, String name) { 78 super(session); 79 this.name = name; 80 } 81 82 99 100 public HttpSessionBindingEvent(HttpSession session, String name, Object value) { 101 super(session); 102 this.name = name; 103 this.value = value; 104 } 105 106 107 108 public HttpSession getSession () { 109 return super.getSession(); 110 } 111 112 113 114 115 127 128 public String getName() { 129 return name; 130 } 131 132 140 141 public Object getValue() { 142 return this.value; 143 } 144 145 } 146 147 148 149 150 151 152 153 | Popular Tags |