Package org.mockserver.serialization
Class WebSocketMessageSerializer
- java.lang.Object
-
- org.mockserver.serialization.WebSocketMessageSerializer
-
public class WebSocketMessageSerializer extends Object
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description WebSocketMessageSerializer(MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
deserialize(String messageJson)
String
serialize(Object message)
-
-
-
Constructor Detail
-
WebSocketMessageSerializer
public WebSocketMessageSerializer(MockServerLogger mockServerLogger)
-
-
Method Detail
-
serialize
public String serialize(Object message) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
deserialize
public Object deserialize(String messageJson) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundException
IOException
-
-