Top Description Fields Constructors Methods
reactor.netty5.http

public abstract Class Cookies<T extends io.netty5.handler.codec.http.headers.HttpCookiePair>

extends Object
Class Inheritance
Known Direct Subclasses
reactor.netty5.http.client.ClientCookies, reactor.netty5.http.server.ServerCookies
Imports
java.util.Map, .Set, java.util.concurrent.atomic.AtomicIntegerFieldUpdater, io.netty5.handler.codec.http.headers.HttpCookiePair

Base holder for Set-Cookie/Cookie headers found in response headers/request headers
Since
0.6

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv volatile int
pack-priv static final AtomicIntegerFieldUpdater<Cookies<T extends HttpCookiePair>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Map<CharSequence, Set<T>>

Returns:

the cached map of cookies
getCachedCookies
()

Wait for the cookies to become available, cache them and subsequently return the cached map of cookies.

protected final boolean
protected final boolean
protected final boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NOT_READback to summary
pack-priv static final int NOT_READ
READback to summary
pack-priv static final int READ
READINGback to summary
pack-priv static final int READING
stateback to summary
pack-priv volatile int state
STATEback to summary
pack-priv static final AtomicIntegerFieldUpdater<Cookies<T extends HttpCookiePair>> STATE
Annotations
@SuppressWarnings:rawtypes

Constructor Detail

Cookiesback to summary
public Cookies()

Method Detail

getCachedCookiesback to summary
public abstract Map<CharSequence, Set<T>> getCachedCookies()

Wait for the cookies to become available, cache them and subsequently return the cached map of cookies.

Returns:Map<CharSequence, Set<T>>

the cached map of cookies

hasReadCookiesback to summary
protected final boolean hasReadCookies()
markReadCookiesback to summary
protected final boolean markReadCookies()
markReadingCookiesback to summary
protected final boolean markReadingCookies()