public final class CookieDecoder extends Object
Cookies. This decoder can decode
the HTTP cookie version 0, 1, and 2.
HttpRequestreq = ...; 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
Cookies. |
Copyright © 2008–2014 The Netty Project. All rights reserved.