Class ServerCookieDecoder
java.lang.Object
org.jboss.netty.handler.codec.http.cookie.CookieDecoder
org.jboss.netty.handler.codec.http.cookie.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
FieldsModifier and TypeFieldDescriptionstatic final ServerCookieDecoder
Lax instance that doesn't validate name and valueprivate static final String
private static final String
private static final String
private static final String
static final ServerCookieDecoder
Strict encoder that validates that name and value chars are in the valid scope defined in RFC6265 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.netty.handler.codec.http.cookie.CookieDecoder
initCookie
-
Field Details
-
RFC2965_VERSION
- See Also:
-
RFC2965_PATH
- See Also:
-
RFC2965_DOMAIN
- See Also:
-
RFC2965_PORT
- See Also:
-
STRICT
Strict encoder 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
-
-
Constructor Details
-
ServerCookieDecoder
private ServerCookieDecoder(boolean strict)
-
-
Method Details