ClientCookieDecoder
or ServerCookieDecoder
instead.
Decodes an HTTP header value into Cookie
s. This decoder can decode
the HTTP cookie version 0, 1, and 2.
HttpRequest
req = ...; String value = req.getHeader("Cookie"); Set<Cookie
> cookies =CookieDecoder
.decode(value);
@Deprecated
public final class CookieDecoder
extends java.lang.Object
ClientCookieDecoder
,
ServerCookieDecoder
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Cookie> |
decode(java.lang.String header)
Deprecated.
|
static java.util.Set<Cookie> |
decode(java.lang.String header,
boolean strict)
Deprecated.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.