public class WebSocketMessageSerializer extends Object
Constructor and Description |
---|
WebSocketMessageSerializer(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(String messageJson) |
String |
serialize(Object message) |
public WebSocketMessageSerializer(MockServerLogger mockServerLogger)
public String serialize(Object message) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
public Object deserialize(String messageJson) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
Copyright © 2018. All rights reserved.