Module io.helidon.webclient.api
Package io.helidon.webclient.api
Interface WebClientCookieManagerConfig
- All Superinterfaces:
Prototype.Api,Prototype.Factory<WebClientCookieManager>
- All Known Implementing Classes:
WebClientCookieManagerConfig.BuilderBase.WebClientCookieManagerConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forWebClientCookieManager.static classWebClientCookieManagerConfig.BuilderBase<BUILDER extends WebClientCookieManagerConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WebClientCookieManagerConfig> Fluent API builder base forWebClientCookieManager. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether automatic cookie store is enabled or not.builder()Create a new fluent API builder to customize configuration.builder(WebClientCookieManagerConfig instance) Create a new fluent API builder from an existing instance.Current cookie policy for this client.The cookie store where cookies are kept.static WebClientCookieManagerConfigcreate()Create a new instance with default values.static WebClientCookieManagerConfigCreate a new instance from configuration.Map of default cookies to include in all requests if cookies enabled.Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
automaticStoreEnabled
boolean automaticStoreEnabled()Whether automatic cookie store is enabled or not.- Returns:
- status of cookie store
-
cookiePolicy
CookiePolicy cookiePolicy()Current cookie policy for this client.- Returns:
- the cookie policy
-
defaultCookies
Map of default cookies to include in all requests if cookies enabled.- Returns:
- map of default cookies
-
cookieStore
Optional<CookieStore> cookieStore()The cookie store where cookies are kept. If not defined, JDK default is used (in memory store).- Returns:
- cookie store
-