public class JSONTranscoder extends Object implements SessionAttributesTranscoder
net.spy.memcached.transcoders.Transcoder that serializes catalina
StandardSessions in json, using FLEXJSON| Constructor and Description |
|---|
JSONTranscoder(org.apache.catalina.Manager manager)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
deserializeAttributes(byte[] in)
Return the deserialized map
|
byte[] |
serializeAttributes(MemcachedBackupSession sessions,
Map<String,Object> attributes) |
public JSONTranscoder(org.apache.catalina.Manager manager)
manager - public Map<String,Object> deserializeAttributes(byte[] in)
deserializeAttributes in interface SessionAttributesTranscoderin - bytes to deserializepublic byte[] serializeAttributes(MemcachedBackupSession sessions, Map<String,Object> attributes)
serializeAttributes in interface SessionAttributesTranscoderCopyright © 2009-2013. All Rights Reserved.