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
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encode(Cookie... cookies)
Deprecated.
|
static java.lang.String |
encode(Cookie cookie)
Deprecated.
|
static java.lang.String |
encode(java.lang.Iterable<Cookie> cookies)
Deprecated.
|
static java.lang.String |
encode(java.lang.String name,
java.lang.String value)
Deprecated.
|
@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)
Copyright © 2008–2018 The Netty Project. All rights reserved.