Package net.handle.hdllib
Class GsonUtility.ResponseGsonTypeHierarchyAdapter
- java.lang.Object
-
- net.handle.hdllib.GsonUtility.ResponseGsonTypeHierarchyAdapter
-
- All Implemented Interfaces:
com.google.gson.JsonSerializer<AbstractResponse>
- Enclosing class:
- GsonUtility
public static class GsonUtility.ResponseGsonTypeHierarchyAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<AbstractResponse>
-
-
Constructor Summary
Constructors Constructor Description ResponseGsonTypeHierarchyAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
serialize(AbstractResponse resp, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(AbstractResponse resp, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<AbstractResponse>
-
-