1 16 package org.apache.cocoon.environment; 17 18 import java.util.Enumeration ; 19 20 48 49 public interface Session { 50 51 65 long getCreationTime(); 66 67 80 String getId(); 81 82 102 103 long getLastAccessedTime(); 104 105 115 void setMaxInactiveInterval(int interval); 116 117 134 int getMaxInactiveInterval(); 135 136 149 Object getAttribute(String name); 150 151 165 Enumeration getAttributeNames(); 166 167 182 void setAttribute(String name, Object value); 183 184 197 void removeAttribute(String name); 198 199 208 void invalidate(); 209 210 226 boolean isNew(); 227 228 } 229 230 | Popular Tags |