Cookies holder from server request headers.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| pack-priv final ServerCookieDecoder |
| Access | Constructor and Description |
|---|---|
| pack-priv | ServerCookies(HttpHeaders nettyHeaders, CharSequence cookiesHeaderName, boolean isClientChannel, ServerCookieDecoder decoder)
|
| Modifier and Type | Method and Description |
|---|---|
| public Map | Returns: the cached map of cookiesWait for the cookies to become available, cache them and subsequently return the cached map of cookies. |
| public Map | getCachedCookies()
Overrides reactor. |
| public static ServerCookies | Returns: a new cookies holder from server request headersserver request headers headers, ServerCookieDecoder decoder)
Return a new cookies holder from server request headers.
|
| allCachedCookies | back to summary |
|---|---|
| pack-priv Map<CharSequence, List<Cookie>> allCachedCookies | |
| serverCookieDecoder | back to summary |
|---|---|
| pack-priv final ServerCookieDecoder serverCookieDecoder | |
| ServerCookies | back to summary |
|---|---|
| pack-priv ServerCookies(HttpHeaders nettyHeaders, CharSequence cookiesHeaderName, boolean isClientChannel, ServerCookieDecoder decoder) | |
| getAllCachedCookies | back to summary |
|---|---|
| public Map Wait for the cookies to become available, cache them and subsequently return the cached map of cookies.
As opposed to
| |
| getCachedCookies | back to summary |
|---|---|
| public Map Overrides reactor. Doc from reactor. Wait for the cookies to become available, cache them and subsequently return the cached map of cookies.
| |
| newServerRequestHolder | back to summary |
|---|---|
| public static ServerCookies newServerRequestHolder(HttpHeaders headers, ServerCookieDecoder decoder) Hides reactor. Return a new cookies holder from server request headers.
| |