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