java.lang.Object |
↳ |
org.mule.modules.handshake.client.serialization.AbstractHandshakeSerializer<T> |
Known Direct Subclasses
|
Class Overview
Convert a Handshake POJO to a JsonElement, taking into account that sometimes we get a resource_uri for an existing nested
object instead of the full object to be created.
Child classes must implement class-specific replacements for the Map that will be jsonified
Summary
Public Methods |
JsonElement
|
serialize(T src, Type typeOfSrc, JsonSerializationContext context)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gson.JsonSerializer
abstract
JsonElement
|
serialize(T arg0, Type arg1, JsonSerializationContext arg2)
|
|
Public Constructors
public
AbstractHandshakeSerializer
()
Public Methods
public
JsonElement
serialize
(T src, Type typeOfSrc, JsonSerializationContext context)
Protected Methods
protected
abstract
void
updateMapWithNestedObjects
(Map<String, Object> mappedObject, T src)