Class ParameterToJavaSerializer
- java.lang.Object
-
- org.mockserver.serialization.java.ParameterToJavaSerializer
-
- All Implemented Interfaces:
MultiValueToJavaSerializer<Parameter>
,ToJavaSerializer<Parameter>
public class ParameterToJavaSerializer extends Object implements MultiValueToJavaSerializer<Parameter>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description ParameterToJavaSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
serialize(int numberOfSpacesToIndent, Parameter parameter)
String
serializeAsJava(int numberOfSpacesToIndent, List<Parameter> parameters)
String
serializeAsJava(int numberOfSpacesToIndent, Parameter... object)
-
-
-
Method Detail
-
serialize
public String serialize(int numberOfSpacesToIndent, Parameter parameter)
- Specified by:
serialize
in interfaceToJavaSerializer<Parameter>
-
serializeAsJava
public String serializeAsJava(int numberOfSpacesToIndent, List<Parameter> parameters)
- Specified by:
serializeAsJava
in interfaceMultiValueToJavaSerializer<Parameter>
-
serializeAsJava
public String serializeAsJava(int numberOfSpacesToIndent, Parameter... object)
- Specified by:
serializeAsJava
in interfaceMultiValueToJavaSerializer<Parameter>
-
-