Class SessionPersistence

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SessionPersistence
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SessionPersistenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SessionPersistence defines the desired state of SessionPersistence.
    See Also:
    Serialized Form
    • Constructor Detail

      • SessionPersistence

        public SessionPersistence()
        No args constructor for use in serialization
    • Method Detail

      • getAbsoluteTimeout

        public String getAbsoluteTimeout()
        AbsoluteTimeout defines the absolute timeout of the persistent session. Once the AbsoluteTimeout duration has elapsed, the session becomes invalid.


        Support: Extended

      • setAbsoluteTimeout

        public void setAbsoluteTimeout​(String absoluteTimeout)
        AbsoluteTimeout defines the absolute timeout of the persistent session. Once the AbsoluteTimeout duration has elapsed, the session becomes invalid.


        Support: Extended

      • getCookieConfig

        public CookieConfig getCookieConfig()
        SessionPersistence defines the desired state of SessionPersistence.
      • setCookieConfig

        public void setCookieConfig​(CookieConfig cookieConfig)
        SessionPersistence defines the desired state of SessionPersistence.
      • getIdleTimeout

        public String getIdleTimeout()
        IdleTimeout defines the idle timeout of the persistent session. Once the session has been idle for more than the specified IdleTimeout duration, the session becomes invalid.


        Support: Extended

      • setIdleTimeout

        public void setIdleTimeout​(String idleTimeout)
        IdleTimeout defines the idle timeout of the persistent session. Once the session has been idle for more than the specified IdleTimeout duration, the session becomes invalid.


        Support: Extended

      • getSessionName

        public String getSessionName()
        SessionName defines the name of the persistent session token which may be reflected in the cookie or the header. Users should avoid reusing session names to prevent unintended consequences, such as rejection or unpredictable behavior.


        Support: Implementation-specific

      • setSessionName

        public void setSessionName​(String sessionName)
        SessionName defines the name of the persistent session token which may be reflected in the cookie or the header. Users should avoid reusing session names to prevent unintended consequences, such as rejection or unpredictable behavior.


        Support: Implementation-specific

      • getType

        public String getType()
        Type defines the type of session persistence such as through the use a header or cookie. Defaults to cookie based session persistence.


        Support: Core for "Cookie" type


        Support: Extended for "Header" type

      • setType

        public void setType​(String type)
        Type defines the type of session persistence such as through the use a header or cookie. Defaults to cookie based session persistence.


        Support: Core for "Cookie" type


        Support: Extended for "Header" type

      • getAdditionalProperties

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

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

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