public class CookieToJavaSerializer extends Object implements MultiValueToJavaSerializer<Cookie>
Constructor and Description |
---|
CookieToJavaSerializer() |
Modifier and Type | Method and Description |
---|---|
String |
serialize(int numberOfSpacesToIndent,
Cookie cookie) |
String |
serializeAsJava(int numberOfSpacesToIndent,
Cookie... object) |
String |
serializeAsJava(int numberOfSpacesToIndent,
List<Cookie> cookies) |
public String serialize(int numberOfSpacesToIndent, Cookie cookie)
serialize
in interface ToJavaSerializer<Cookie>
public String serializeAsJava(int numberOfSpacesToIndent, List<Cookie> cookies)
serializeAsJava
in interface MultiValueToJavaSerializer<Cookie>
public String serializeAsJava(int numberOfSpacesToIndent, Cookie... object)
serializeAsJava
in interface MultiValueToJavaSerializer<Cookie>
Copyright © 2020. All rights reserved.