Package org.mockserver.serialization
Class PortBindingSerializer
- java.lang.Object
-
- org.mockserver.serialization.PortBindingSerializer
-
- All Implemented Interfaces:
Serializer<PortBinding>
public class PortBindingSerializer extends Object implements Serializer<PortBinding>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description PortBindingSerializer(MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortBinding
deserialize(String jsonPortBinding)
String
serialize(PortBinding portBinding)
Class<PortBinding>
supportsType()
-
-
-
Constructor Detail
-
PortBindingSerializer
public PortBindingSerializer(MockServerLogger mockServerLogger)
-
-
Method Detail
-
serialize
public String serialize(PortBinding portBinding)
- Specified by:
serialize
in interfaceSerializer<PortBinding>
-
deserialize
public PortBinding deserialize(String jsonPortBinding)
- Specified by:
deserialize
in interfaceSerializer<PortBinding>
-
supportsType
public Class<PortBinding> supportsType()
- Specified by:
supportsType
in interfaceSerializer<PortBinding>
-
-