public final class ClientCookieDecoder extends CookieDecoder
Cookie.setWrap(boolean)
中,以便它最终可以按原样返回到原始服务器。
ClientCookieEncoder
Modifier and Type | Field and Description |
---|---|
static ClientCookieDecoder |
LAX
Lax实例不验证名称和值
|
static ClientCookieDecoder |
STRICT
验证名称和值字符的严格编码器位于RFC6265中定义的有效范围内
|
Modifier and Type | Method and Description |
---|---|
Cookie |
decode(java.lang.String header)
将指定的Set-Cookie HTTP标头值解码为 Cookie 。
|
initCookie
public static final ClientCookieDecoder STRICT
public static final ClientCookieDecoder LAX
Copyright © 2008–2018 The Netty Project. All rights reserved.