View Javadoc

1   package com.diasparsoftware.javax.servlet.http;
2   
3   import java.util.Enumeration;
4   
5   import javax.servlet.ServletContext;
6   import javax.servlet.http.*;
7   
8   public class HttpSessionAdapter implements HttpSession {
9       public long getCreationTime() {
10          return 0;
11      }
12  
13      public String getId() {
14          return null;
15      }
16  
17      public long getLastAccessedTime() {
18          return 0;
19      }
20  
21      public ServletContext getServletContext() {
22          return null;
23      }
24  
25      public void setMaxInactiveInterval(int maxInactiveInterval) {
26      }
27  
28      public int getMaxInactiveInterval() {
29          return 0;
30      }
31  
32      public HttpSessionContext getSessionContext() {
33          return null;
34      }
35  
36      public Object getAttribute(String name) {
37          return null;
38      }
39  
40      public Object getValue(String name) {
41          return null;
42      }
43  
44      public Enumeration getAttributeNames() {
45          return null;
46      }
47  
48      public String[] getValueNames() {
49          return null;
50      }
51  
52      public void setAttribute(String name, Object value) {
53      }
54  
55      public void putValue(String name, Object value) {
56      }
57  
58      public void removeAttribute(String name) {
59      }
60  
61      public void removeValue(String name) {
62      }
63  
64      public void invalidate() {
65      }
66  
67      public boolean isNew() {
68          return false;
69      }
70  }