cachedCookies
Modifier and Type | Method and Description |
---|---|
Map<CharSequence,List<io.netty.handler.codec.http.cookie.Cookie>> |
getAllCachedCookies()
Wait for the cookies to become available, cache them and subsequently return the cached map of cookies.
|
Map<CharSequence,Set<io.netty.handler.codec.http.cookie.Cookie>> |
getCachedCookies()
Wait for the cookies to become available, cache them and subsequently return the cached map of cookies.
|
static ServerCookies |
newServerRequestHolder(io.netty.handler.codec.http.HttpHeaders headers,
io.netty.handler.codec.http.cookie.ServerCookieDecoder decoder)
Return a new cookies holder from server request headers.
|
allCookieHeaders, hasReadCookies, markReadCookies, markReadingCookies, newClientResponseHolder
public static ServerCookies newServerRequestHolder(io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.cookie.ServerCookieDecoder decoder)
headers
- server request headerspublic Map<CharSequence,Set<io.netty.handler.codec.http.cookie.Cookie>> getCachedCookies()
Cookies
getCachedCookies
in class Cookies
public Map<CharSequence,List<io.netty.handler.codec.http.cookie.Cookie>> getAllCachedCookies()
getCachedCookies()
, this returns all cookies, even if they have the same name.