- java.lang.Object
-
- io.netty5.handler.codec.http.cookie.CookieDecoder
-
- io.netty5.handler.codec.http.cookie.ClientCookieDecoder
-
public final class ClientCookieDecoder extends CookieDecoder
A RFC6265 compliant cookie decoder to be used client side. It will store the way the raw value was wrapped inCookie.setWrap(boolean)
so it can be eventually sent back to the Origin server as is.- See Also:
ClientCookieEncoder
-
-
Field Summary
Fields Modifier and Type Field Description static ClientCookieDecoder
LAX
Lax instance that doesn't validate name and valuestatic ClientCookieDecoder
STRICT
Strict encoder that validates that name and value chars are in the valid scope defined in RFC6265
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cookie
decode(String header)
Decodes the specified Set-Cookie HTTP header value into aCookie
.-
Methods inherited from class io.netty5.handler.codec.http.cookie.CookieDecoder
initCookie
-
-
-
-
Field Detail
-
STRICT
public static final ClientCookieDecoder STRICT
Strict encoder that validates that name and value chars are in the valid scope defined in RFC6265
-
LAX
public static final ClientCookieDecoder LAX
Lax instance that doesn't validate name and value
-
-