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