io.netty.handler.codec.http.cookie.ClientCookieDecoder
or io.netty.handler.codec.http.cookie.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
io.netty.handler.codec.http.cookie.ClientCookieDecoder
,
io.netty.handler.codec.http.cookie.ServerCookieDecoder
Constructor and Description |
---|
CookieDecoder()
Deprecated.
Creates a new decoder.
|
CookieDecoder(boolean strict)
Deprecated.
Creates a new decoder.
|
Copyright © 2008-2016 The Netty Project. All Rights Reserved.