org.springframework.boot.web.servlet.server

Class Session



  • public class Session
    extends Object
    Session properties.
    Since:
    2.0.0
    Author:
    Andy Wilkinson
    • Constructor Detail

      • Session

        public Session()
    • Method Detail

      • getTimeout

        public Duration getTimeout()
      • setTimeout

        public void setTimeout(Duration timeout)
      • isPersistent

        public boolean isPersistent()
        Return whether to persist session data between restarts.
        Returns:
        true to persist session data between restarts.
      • setPersistent

        public void setPersistent(boolean persistent)
      • getStoreDir

        public File getStoreDir()
        Return the directory used to store session data.
        Returns:
        the session data store directory
      • setStoreDir

        public void setStoreDir(File storeDir)

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.