Class ExpectationToJavaSerializer
- java.lang.Object
-
- org.mockserver.serialization.java.ExpectationToJavaSerializer
-
- All Implemented Interfaces:
ToJavaSerializer<Expectation>
public class ExpectationToJavaSerializer extends Object implements ToJavaSerializer<Expectation>
- Author:
- jamesdbloom
-
-
Field Summary
Fields Modifier and Type Field Description static int
INDENT_SIZE
-
Constructor Summary
Constructors Constructor Description ExpectationToJavaSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
serialize(int numberOfSpacesToIndent, Expectation expectation)
String
serialize(List<Expectation> expectations)
-
-
-
Field Detail
-
INDENT_SIZE
public static final int INDENT_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
serialize
public String serialize(List<Expectation> expectations)
-
serialize
public String serialize(int numberOfSpacesToIndent, Expectation expectation)
- Specified by:
serialize
in interfaceToJavaSerializer<Expectation>
-
-