1 17 package javax.servlet.http; 18 19 import java.util.Enumeration ; 20 import javax.servlet.ServletContext ; 21 22 75 76 public interface HttpSession { 77 78 79 80 81 95 96 public long getCreationTime(); 97 98 99 100 101 114 115 public String getId(); 116 117 118 119 120 140 141 public long getLastAccessedTime(); 142 143 144 150 151 public ServletContext getServletContext(); 152 153 154 164 165 public void setMaxInactiveInterval(int interval); 166 167 168 169 170 187 188 public int getMaxInactiveInterval(); 189 190 191 192 193 201 202 public HttpSessionContext getSessionContext(); 203 204 205 206 207 220 221 public Object getAttribute(String name); 222 223 224 225 226 239 240 public Object getValue(String name); 241 242 243 244 245 259 260 public Enumeration getAttributeNames(); 261 262 263 264 265 279 280 public String [] getValueNames(); 281 282 283 284 285 314 315 public void setAttribute(String name, Object value); 316 317 318 319 320 321 335 336 public void putValue(String name, Object value); 337 338 339 340 341 342 363 364 public void removeAttribute(String name); 365 366 367 368 369 370 381 382 public void removeValue(String name); 383 384 385 386 387 396 397 public void invalidate(); 398 399 400 401 402 418 419 public boolean isNew(); 420 421 422 423 } 424 425 | Popular Tags |