Package org.mockserver.serialization
Class LogEventJsonSerializer
- java.lang.Object
-
- org.mockserver.serialization.LogEventJsonSerializer
-
- All Implemented Interfaces:
Serializer<LogEntry>
public class LogEventJsonSerializer extends Object implements Serializer<LogEntry>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description LogEventJsonSerializer(MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntrydeserialize(String jsonLogEntry)Stringserialize(List<LogEntry> messageLogEntries)Stringserialize(LogEntry messageLogEntry)Stringserialize(LogEntry... messageLogEntries)Class<LogEntry>supportsType()
-
-
-
Constructor Detail
-
LogEventJsonSerializer
public LogEventJsonSerializer(MockServerLogger mockServerLogger)
-
-
Method Detail
-
serialize
public String serialize(LogEntry messageLogEntry)
- Specified by:
serializein interfaceSerializer<LogEntry>
-
deserialize
public LogEntry deserialize(String jsonLogEntry)
- Specified by:
deserializein interfaceSerializer<LogEntry>
-
supportsType
public Class<LogEntry> supportsType()
- Specified by:
supportsTypein interfaceSerializer<LogEntry>
-
-