public class MonitorUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.codehaus.jackson.map.ObjectMapper |
MAPPER |
| Constructor and Description |
|---|
MonitorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SessionInstance |
deserializeSessionInstance(byte[] instance)
This method returns the session instance of a supplied JSON representation.
|
static byte[] |
serializeSessionInstance(SessionInstance instance)
This method returns the JSON representation of the session instance.
|
public static byte[] serializeSessionInstance(SessionInstance instance) throws Exception
instance - The session instanceException - Failed to serializepublic static SessionInstance deserializeSessionInstance(byte[] instance) throws Exception
instance - The JSON representationException - Failed to deserializeCopyright © 2014. All Rights Reserved.