public final class ServerCookieDecoder extends CookieDecoder
ServerCookieEncoder
Modifier and Type | Field and Description |
---|---|
static ServerCookieDecoder |
LAX
Lax instance that doesn't validate name and value
|
static ServerCookieDecoder |
STRICT
Strict decoder that validates that name and value chars are in the valid scope
defined in RFC6265
|
Modifier and Type | Method and Description |
---|---|
Set<Cookie> |
decode(String header)
Decodes the specified
Cookie HTTP header value into a Cookie . |
List<Cookie> |
decodeAll(String header)
Decodes the specified
Cookie HTTP header value into a Cookie . |
initCookie
public static final ServerCookieDecoder STRICT
public static final ServerCookieDecoder LAX
Copyright © 2008–2024 The Netty Project. All rights reserved.