throw new RuntimeException(String.format("Exception while serializing httpRequest to JSON with value %s", httpRequest), ioe);
}
}
public HttpRequest deserialize(String jsonHttpRequest) {
HttpRequest httpRequest = null;
if (jsonHttpRequest != null && !jsonHttpRequest.isEmpty()) {
try {
if (!jsonHttpRequest.contains("\"httpRequest\"")) {
HttpRequestDTO httpRequestDTO = objectMapper.readValue(jsonHttpRequest, HttpRequestDTO.class);
if (httpRequestDTO != null) {