public final class CookieDecoder extends Object
Cookie
s. This decoder can decode
the HTTP cookie version 0, 1, and 2.
HttpRequest
req = ...; String value = req.getHeader("Cookie"); Set<Cookie
> cookies = newCookieDecoder
().decode(value);
ClientCookieEncoder
,
ServerCookieEncoder
Modifier and Type | Method and Description |
---|---|
static Set<Cookie> |
decode(String header)
Decodes the specified HTTP header value into
Cookie s. |
Copyright © 2008–2018 The Netty Project. All rights reserved.