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 Object
ClientCookieDecoder
,
ServerCookieDecoder
Modifier and Type | Method and Description |
---|---|
static Set<Cookie> |
decode(String header)
Deprecated.
|
static Set<Cookie> |
decode(String header,
boolean strict)
Deprecated.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.