Class CookieConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<CookieConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class CookieConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<CookieConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    CookieConfig defines the configuration for cookie-based session persistence.
    See Also:
    Serialized Form
    • Constructor Detail

      • CookieConfig

        public CookieConfig()
        No args constructor for use in serialization
      • CookieConfig

        public CookieConfig​(String lifetimeType)
    • Method Detail

      • getLifetimeType

        public String getLifetimeType()
        LifetimeType specifies whether the cookie has a permanent or session-based lifetime. A permanent cookie persists until its specified expiry time, defined by the Expires or Max-Age cookie attributes, while a session cookie is deleted when the current session ends.


        When set to "Permanent", AbsoluteTimeout indicates the cookie's lifetime via the Expires or Max-Age cookie attributes and is required.


        When set to "Session", AbsoluteTimeout indicates the absolute lifetime of the cookie tracked by the gateway and is optional.


        Support: Core for "Session" type


        Support: Extended for "Permanent" type

      • setLifetimeType

        public void setLifetimeType​(String lifetimeType)
        LifetimeType specifies whether the cookie has a permanent or session-based lifetime. A permanent cookie persists until its specified expiry time, defined by the Expires or Max-Age cookie attributes, while a session cookie is deleted when the current session ends.


        When set to "Permanent", AbsoluteTimeout indicates the cookie's lifetime via the Expires or Max-Age cookie attributes and is required.


        When set to "Session", AbsoluteTimeout indicates the absolute lifetime of the cookie tracked by the gateway and is optional.


        Support: Core for "Session" type


        Support: Extended for "Permanent" type

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)