String function ( ) { this . id = Integer . toString ( nextId ++ ) ; return this . id ; }
as of servlet 3.1 the id of a session can be changed . concode_field_sep long lastAccessedTime concode_elem_sep boolean invalid concode_elem_sep int nextId concode_elem_sep int maxInactiveInterval concode_elem_sep Map<String,Object> attributes concode_elem_sep boolean isNew concode_elem_sep ServletContext servletContext concode_elem_sep String id concode_elem_sep String SESSION_COOKIE_NAME concode_elem_sep long creationTime concode_field_sep void access concode_elem_sep ServletContext getServletContext concode_elem_sep void clearAttributes concode_elem_sep int getMaxInactiveInterval concode_elem_sep String getId concode_elem_sep void invalidate concode_elem_sep boolean isNew concode_elem_sep boolean isInvalid concode_elem_sep void setMaxInactiveInterval concode_elem_sep Object getValue concode_elem_sep long getLastAccessedTime concode_elem_sep void setAttribute concode_elem_sep Serializable serializeState concode_elem_sep Object getAttribute concode_elem_sep void removeValue concode_elem_sep void assertIsValid concode_elem_sep Enumeration<String> getAttributeNames concode_elem_sep long getCreationTime concode_elem_sep void putValue concode_elem_sep void removeAttribute concode_elem_sep void setNew concode_elem_sep void deserializeState concode_elem_sep javax.servlet.http.HttpSessionContext getSessionContext concode_elem_sep String[] getValueNames