package Serfler; // Serfler - an Http server written in Java based on servlets // Copyright (c) 1998 by Douglas Harris // Distributed under the GNU General Public License // // A copy is included with this software distribution. // The package is available from // http://spectral.mscs.mu.edu/javadev/src/serfler.zip // import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSessionContext; public class SerflerSession implements HttpSession{ private String id; private long creationTime; private long accessedTime; private java.util.Hashtable values; public SerflerSession(String id){ creationTime=0; } public String getId(){ return null; } public HttpSessionContext getSessionContext(){ return null; } public long getCreationTime(){ return creationTime; } public long getLastAccessedTime(){ return accessedTime; } public void invalidate(){ } public void putValue(String name, Object value){ values.put(name, value); } public Object getValue(String name){ return values.get(name); } public void removeValue(String name){ } public String[] getValueNames(){ return null; } public boolean isNew(){ return true; } }