Package org.mockserver.serialization
Class LogEventRequestAndResponseSerializer
- java.lang.Object
-
- org.mockserver.serialization.LogEventRequestAndResponseSerializer
-
public class LogEventRequestAndResponseSerializer extends Object
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description LogEventRequestAndResponseSerializer(MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEventRequestAndResponse
deserialize(String jsonHttpRequestAndHttpResponse)
LogEventRequestAndResponse[]
deserializeArray(String jsonHttpRequestAndHttpResponse)
String
serialize(List<LogEventRequestAndResponse> httpRequestAndHttpResponses)
String
serialize(LogEventRequestAndResponse httpRequestAndHttpResponse)
String
serialize(LogEventRequestAndResponse... httpRequestAndHttpResponses)
-
-
-
Constructor Detail
-
LogEventRequestAndResponseSerializer
public LogEventRequestAndResponseSerializer(MockServerLogger mockServerLogger)
-
-
Method Detail
-
serialize
public String serialize(LogEventRequestAndResponse httpRequestAndHttpResponse)
-
serialize
public String serialize(List<LogEventRequestAndResponse> httpRequestAndHttpResponses)
-
serialize
public String serialize(LogEventRequestAndResponse... httpRequestAndHttpResponses)
-
deserialize
public LogEventRequestAndResponse deserialize(String jsonHttpRequestAndHttpResponse)
-
deserializeArray
public LogEventRequestAndResponse[] deserializeArray(String jsonHttpRequestAndHttpResponse)
-
-