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 java.lang.Object
io.netty.handler.codec.http.cookie.ClientCookieDecoder
,
io.netty.handler.codec.http.cookie.ServerCookieDecoder
构造器和说明 |
---|
CookieDecoder()
已过时。
Creates a new decoder.
|
CookieDecoder(boolean strict)
已过时。
Creates a new decoder.
|