Deprecated
Use io.
or io. instead.
Decodes an HTTP header value into Cookies. This decoder can decode
the HTTP cookie version 0, 1, and 2.
HttpRequestreq = ...; String value = req.getHeader("Cookie"); Set<Cookie> cookies =CookieDecoder.decode(value);
io.netty.handler.codec.http.cookie.ClientCookieDecoder , io.netty.handler.codec.http.cookie.ServerCookieDecoder
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final CookieDecoder | LAX
Deprecated
as a consequence of
CookieDecoder being deprecated.
|
| private final InternalLogger | |
| private static final String | |
| private static final CookieDecoder | STRICT
Deprecated
as a consequence of
CookieDecoder being deprecated.
|
| private final boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Set | |
| public static Set | |
| private Set | |
| private static void | |
| private DefaultCookie | initCookie(String name, String value)
Deprecated
as a consequence of
DefaultCookie being deprecated.
|
| COMMENT | back to summary |
|---|---|
| private static final String COMMENT | |
| COMMENTURL | back to summary |
|---|---|
| private static final String COMMENTURL | |
| DISCARD | back to summary |
|---|---|
| private static final String DISCARD | |
| LAX | back to summary |
|---|---|
| private static final CookieDecoder LAX
Deprecated as a consequence of | |
| logger | back to summary |
|---|---|
| private final InternalLogger logger | |
| PORT | back to summary |
|---|---|
| private static final String PORT | |
| STRICT | back to summary |
|---|---|
| private static final CookieDecoder STRICT
Deprecated as a consequence of | |
| strict | back to summary |
|---|---|
| private final boolean strict | |
| VERSION | back to summary |
|---|---|
| private static final String VERSION | |
| CookieDecoder | back to summary |
|---|---|
| private CookieDecoder(boolean strict) | |
| decode | back to summary |
|---|---|
| public static Set | |
| decode | back to summary |
|---|---|
| public static Set | |
| doDecode | back to summary |
|---|---|
| private Set Decodes the specified HTTP header value into | |
| extractKeyValuePairs | back to summary |
|---|---|
| private static void extractKeyValuePairs(final String header, final List<String> names, final List<String> values) | |
| initCookie | back to summary |
|---|---|
| private DefaultCookie initCookie(String name, String value)
Deprecated as a consequence of | |