@Test public void serializeHost() throws IOException, ClassNotFoundException { SimpleSession session = new SimpleSession("localhost"); assertEquals("localhost", serializeAndDeserialize(session).getHost()); }
public String getHost() { return host; }
SimpleSession implements ValidatingSession, Serializable { public String getHost() { return host; } }
SimpleSession implements ValidatingSession, Serializable { public String getHost() { return host; } SimpleSession();  SimpleSession(String host); }
SimpleSession implements ValidatingSession, Serializable { public String getHost() { return host; } SimpleSession();  SimpleSession(String host); Serializable getId(); void setId(Serializable id); Date getStartTimestamp(); void setStartTimestamp(Date startTimestamp); Date getStopTimestamp(); void setStopTimestamp(Date stopTimestamp); Date getLastAccessTime(); void setLastAccessTime(Date lastAccessTime); boolean isExpired(); void setExpired(boolean expired); long getTimeout(); void setTimeout(long timeout); String getHost(); void setHost(String host); Map<Object, Object> getAttributes(); void setAttributes(Map<Object, Object> attributes); void touch(); void stop(); boolean isValid(); void validate(); Collection<Object> getAttributeKeys(); Object getAttribute(Object key); void setAttribute(Object key, Object value); Object removeAttribute(Object key); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
SimpleSession implements ValidatingSession, Serializable { public String getHost() { return host; } SimpleSession();  SimpleSession(String host); Serializable getId(); void setId(Serializable id); Date getStartTimestamp(); void setStartTimestamp(Date startTimestamp); Date getStopTimestamp(); void setStopTimestamp(Date stopTimestamp); Date getLastAccessTime(); void setLastAccessTime(Date lastAccessTime); boolean isExpired(); void setExpired(boolean expired); long getTimeout(); void setTimeout(long timeout); String getHost(); void setHost(String host); Map<Object, Object> getAttributes(); void setAttributes(Map<Object, Object> attributes); void touch(); void stop(); boolean isValid(); void validate(); Collection<Object> getAttributeKeys(); Object getAttribute(Object key); void setAttribute(Object key, Object value); Object removeAttribute(Object key); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }