Package com.splunk.logging.serialization
Class EventInfoTypeAdapter
- java.lang.Object
-
- com.splunk.logging.serialization.EventInfoTypeAdapter
-
- All Implemented Interfaces:
com.google.gson.JsonSerializer<HttpEventCollectorEventInfo>
public class EventInfoTypeAdapter extends Object implements com.google.gson.JsonSerializer<HttpEventCollectorEventInfo>
-
-
Constructor Summary
Constructors Constructor Description EventInfoTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
serialize(HttpEventCollectorEventInfo src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(HttpEventCollectorEventInfo src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<HttpEventCollectorEventInfo>
-
-