GeezerVison is showing netty.io — ServerCookieDecoder (Netty API Reference (4.1.141.Final))
Class ServerCookieDecoder
A
RFC6265 compliant cookie decoder to be used server side.
Only name and value fields are expected, so old fields are not populated (path, domain, etc).
Old
RFC2965 cookies are still supported,
old fields will simply be ignored.
- See Also:
-
-
Field Summary
Fields
Modifier and Type
Field
Description
Lax instance that doesn't validate name and value
Strict decoder that validates that name and value chars are in the valid scope
defined in RFC6265
-
Method Summary
Modifier and Type
Method
Description
Decodes the specified
Cookie HTTP header value into a
Cookie.
Decodes the specified
Cookie HTTP header value into a
Cookie.
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
STRICT
Strict decoder that validates that name and value chars are in the valid scope
defined in RFC6265
-
LAX
Lax instance that doesn't validate name and value
-
Method Details
-
decodeAll
Decodes the specified
Cookie HTTP header value into a
Cookie. Unlike
decode(String),
this includes all cookie values present, even if they have the same name.
- Returns:
- the decoded
Cookie
-
decode
Decodes the specified
Cookie HTTP header value into a
Cookie.
- Returns:
- the decoded
Cookie