public class HttpRequestAndHttpResponseSerializer extends Object implements Serializer<HttpRequestAndHttpResponse>
Constructor and Description |
---|
HttpRequestAndHttpResponseSerializer(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
HttpRequestAndHttpResponse |
deserialize(String jsonHttpRequest) |
HttpRequestAndHttpResponse[] |
deserializeArray(String jsonHttpRequests) |
String |
serialize(HttpRequestAndHttpResponse... httpRequests) |
String |
serialize(HttpRequestAndHttpResponse httpRequestAndHttpResponse) |
String |
serialize(List<HttpRequestAndHttpResponse> httpRequests) |
Class<HttpRequestAndHttpResponse> |
supportsType() |
public HttpRequestAndHttpResponseSerializer(MockServerLogger mockServerLogger)
public String serialize(HttpRequestAndHttpResponse httpRequestAndHttpResponse)
serialize
in interface Serializer<HttpRequestAndHttpResponse>
public String serialize(List<HttpRequestAndHttpResponse> httpRequests)
public String serialize(HttpRequestAndHttpResponse... httpRequests)
public HttpRequestAndHttpResponse deserialize(String jsonHttpRequest)
deserialize
in interface Serializer<HttpRequestAndHttpResponse>
public Class<HttpRequestAndHttpResponse> supportsType()
supportsType
in interface Serializer<HttpRequestAndHttpResponse>
public HttpRequestAndHttpResponse[] deserializeArray(String jsonHttpRequests)
Copyright © 2020. All rights reserved.