1 16 package org.directwebremoting; 17 18 import java.util.Iterator ; 19 20 import javax.servlet.http.HttpSession ; 21 22 30 public interface ScriptSession 31 { 32 39 Object getAttribute(String name); 40 41 59 void setAttribute(String name, Object value); 60 61 73 void removeAttribute(String name); 74 75 82 Iterator getAttributeNames(); 83 84 88 void invalidate(); 89 90 100 boolean isInvalidated(); 101 102 107 void addScript(ScriptBuffer script); 108 109 116 String getId(); 117 118 124 long getCreationTime(); 125 126 135 long getLastAccessedTime(); 136 } 137 | Popular Tags |