|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SerializableSession
An interface to serializable sessions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.norther.tammi.spray.session.AuthenticatedSession |
---|
AuthenticatedSession.RemoteClient |
Method Summary | |
---|---|
void |
activate()
Activates session attributes. |
void |
passivate()
Passivates session attributes. |
void |
readObjectData(ObjectInputStream stream)
Reads a serialized version of the contents of the session object from the specified object input stream, without requiring that the session itself has been serialized. |
void |
writeObjectData(ObjectOutputStream stream)
Writes a serialized version of the contents of the session object to the specified object output stream, without requiring that the session itself has been serialized. |
Methods inherited from interface org.norther.tammi.spray.session.AuthenticatedSession |
---|
access, getAttributeNames, getRemoteClient, getUserPrincipal, isValid, registerRemoteClient, registerUserPrincipal |
Methods inherited from interface javax.servlet.http.HttpSession |
---|
getAttribute, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval |
Method Detail |
---|
void activate()
void passivate()
void readObjectData(ObjectInputStream stream) throws ClassNotFoundException, IOException
stream
- the object input stream to read from.
ClassNotFoundException
- if an unknown class is specified
IOException
- if an input/output error occurs.void writeObjectData(ObjectOutputStream stream) throws IOException
stream
- the object output stream to write to.
IOException
- if an input/output error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |