Package org.apache.myfaces.push
Class WebsocketSessionClusterSerializedRestore
java.lang.Object
org.apache.myfaces.push.WebsocketSessionClusterSerializedRestore
- All Implemented Interfaces:
Externalizable
,Serializable
This class ensures the Session instance is properly registered into WebsocketApplicationSessionHolder in case
of serialization/deserialization roundtrip.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WEBSOCKET_SESSION_SERIALIZED_RESTORE
- See Also:
-
-
Constructor Details
-
WebsocketSessionClusterSerializedRestore
public WebsocketSessionClusterSerializedRestore() -
WebsocketSessionClusterSerializedRestore
-
-
Method Details
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
getChannelToken
-
setChannelToken
-
isDeserialized
public boolean isDeserialized()
-