ServerCookieEncoder
instead@Deprecated public final class ServerCookieEncoder extends Object
// ExampleHttpRequest
req = ...; res.setHeader("Cookie",ServerCookieEncoder
.encode("JSESSIONID", "1234"));
ServerCookieDecoder
Modifier and Type | Method and Description |
---|---|
static List<String> |
encode(Collection<Cookie> cookies)
Deprecated.
|
static List<String> |
encode(Cookie... cookies)
Deprecated.
|
static String |
encode(Cookie cookie)
Deprecated.
|
static List<String> |
encode(Iterable<Cookie> cookies)
Deprecated.
|
static String |
encode(String name,
String value)
Deprecated.
|
@Deprecated public static String encode(String name, String value)
name
- the cookie namevalue
- the cookie value@Deprecated public static String encode(Cookie cookie)
cookie
- the cookie@Deprecated public static List<String> encode(Cookie... cookies)
cookies
- a bunch of cookies@Deprecated public static List<String> encode(Collection<Cookie> cookies)
cookies
- a bunch of cookies@Deprecated public static List<String> encode(Iterable<Cookie> cookies)
cookies
- a bunch of cookiesCopyright © 2008–2017 The Netty Project. All rights reserved.