ClientCookieEncoder
instead.@Deprecated
public final class ClientCookieEncoder
extends java.lang.Object
Cookie
s into an HTTP header value. This encoder can encode
the HTTP cookie version 0, 1, and 2.
// ExampleHttpRequest
req = ...; res.setHeader("Cookie",ClientCookieEncoder
.encode("JSESSIONID", "1234"));
CookieDecoder
@Deprecated public static java.lang.String encode(java.lang.String name, java.lang.String value)
@Deprecated public static java.lang.String encode(Cookie cookie)
@Deprecated public static java.lang.String encode(Cookie... cookies)
@Deprecated public static java.lang.String encode(java.lang.Iterable<Cookie> cookies)