ClientCookieDecoder
or 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
限定符和类型 | 方法和说明 |
---|---|
static java.util.Set<Cookie> |
decode(java.lang.String header)
已过时。
|
static java.util.Set<Cookie> |
decode(java.lang.String header,
boolean strict)
已过时。
|