Package org.apache.myfaces.push
Class WebsocketSessionClusterSerializedRestore
- java.lang.Object
- 
- org.apache.myfaces.push.WebsocketSessionClusterSerializedRestore
 
- 
- All Implemented Interfaces:
- Externalizable,- Serializable
 
 public class WebsocketSessionClusterSerializedRestore extends Object implements Externalizable This class ensures the Session instance is properly registered into WebsocketApplicationSessionHolder in case of serialization/deserialization roundtrip.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringWEBSOCKET_SESSION_SERIALIZED_RESTORE
 - 
Constructor SummaryConstructors Constructor Description WebsocketSessionClusterSerializedRestore()WebsocketSessionClusterSerializedRestore(String channelToken)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChannelToken()booleanisDeserialized()voidreadExternal(ObjectInput in)voidsetChannelToken(String channelToken)voidwriteExternal(ObjectOutput out)
 
- 
- 
- 
Field Detail- 
WEBSOCKET_SESSION_SERIALIZED_RESTOREpublic static final String WEBSOCKET_SESSION_SERIALIZED_RESTORE - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
WebsocketSessionClusterSerializedRestorepublic WebsocketSessionClusterSerializedRestore() 
 - 
WebsocketSessionClusterSerializedRestorepublic WebsocketSessionClusterSerializedRestore(String channelToken) 
 
- 
 - 
Method Detail- 
writeExternalpublic void writeExternal(ObjectOutput out) throws IOException - Specified by:
- writeExternalin interface- Externalizable
- Throws:
- IOException
 
 - 
readExternalpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException - Specified by:
- readExternalin interface- Externalizable
- Throws:
- IOException
- ClassNotFoundException
 
 - 
getChannelTokenpublic String getChannelToken() 
 - 
setChannelTokenpublic void setChannelToken(String channelToken) 
 - 
isDeserializedpublic boolean isDeserialized() 
 
- 
 
-