Module io.helidon.webclient.api
Package io.helidon.webclient.api
Class WebClientCookieManagerConfig.BuilderBase.WebClientCookieManagerConfigImpl
java.lang.Object
io.helidon.webclient.api.WebClientCookieManagerConfig.BuilderBase.WebClientCookieManagerConfigImpl
- All Implemented Interfaces:
Prototype.Api,Prototype.Factory<WebClientCookieManager>,WebClientCookieManagerConfig,Supplier<WebClientCookieManager>
- Enclosing class:
WebClientCookieManagerConfig.BuilderBase<BUILDER extends WebClientCookieManagerConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WebClientCookieManagerConfig>
protected static class WebClientCookieManagerConfig.BuilderBase.WebClientCookieManagerConfigImpl
extends Object
implements WebClientCookieManagerConfig, Supplier<WebClientCookieManager>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.api.WebClientCookieManagerConfig
WebClientCookieManagerConfig.Builder, WebClientCookieManagerConfig.BuilderBase<BUILDER extends WebClientCookieManagerConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WebClientCookieManagerConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether automatic cookie store is enabled or not.build()Create a new instance of the runtime type from this config object.Current cookie policy for this client.The cookie store where cookies are kept.Map of default cookies to include in all requests if cookies enabled.booleanget()inthashCode()toString()
-
Constructor Details
-
WebClientCookieManagerConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.FactoryCreate a new instance of the runtime type from this config object.- Specified by:
buildin interfacePrototype.Factory<WebClientCookieManager>- Returns:
- new configured runtime instance
-
get
- Specified by:
getin interfaceSupplier<WebClientCookieManager>
-
automaticStoreEnabled
public boolean automaticStoreEnabled()Description copied from interface:WebClientCookieManagerConfigWhether automatic cookie store is enabled or not.- Specified by:
automaticStoreEnabledin interfaceWebClientCookieManagerConfig- Returns:
- status of cookie store
-
cookiePolicy
Description copied from interface:WebClientCookieManagerConfigCurrent cookie policy for this client.- Specified by:
cookiePolicyin interfaceWebClientCookieManagerConfig- Returns:
- the cookie policy
-
defaultCookies
Description copied from interface:WebClientCookieManagerConfigMap of default cookies to include in all requests if cookies enabled.- Specified by:
defaultCookiesin interfaceWebClientCookieManagerConfig- Returns:
- map of default cookies
-
cookieStore
Description copied from interface:WebClientCookieManagerConfigThe cookie store where cookies are kept. If not defined, JDK default is used (in memory store).- Specified by:
cookieStorein interfaceWebClientCookieManagerConfig- Returns:
- cookie store
-
toString
-
equals
-
hashCode
public int hashCode()
-