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