Class ServerConfigSessionLimits


  • public class ServerConfigSessionLimits
    extends Object
    Defines the restrictions and limits that apply when using the REST API and user sessions on the server.
    • Constructor Detail

      • ServerConfigSessionLimits

        public ServerConfigSessionLimits()
    • Method Detail

      • getDiskSpaceLimit

        @Nullable
        public @Nullable Integer getDiskSpaceLimit()
        Sets the overall global disk space (in bytes) the server may use (set to 0 to disable this limitation). minimum: 0
        Returns:
        diskSpaceLimit
      • setDiskSpaceLimit

        public void setDiskSpaceLimit​(Integer diskSpaceLimit)
      • getDiskSpaceLimitUser

        @Nullable
        public @Nullable Integer getDiskSpaceLimitUser()
        Sets the maximum disk space (in bytes) a single user may use (set to 0 to disable this limitation). minimum: 0
        Returns:
        diskSpaceLimitUser
      • setDiskSpaceLimitUser

        public void setDiskSpaceLimitUser​(Integer diskSpaceLimitUser)
      • getMaxFiles

        @Nullable
        public @Nullable Integer getMaxFiles()
        Sets the maximum number of files that may be uploaded to the server (set to 0 to disable this limitation). minimum: 0
        Returns:
        maxFiles
      • setMaxFiles

        public void setMaxFiles​(Integer maxFiles)
      • getMaxFilesUser

        @Nullable
        public @Nullable Integer getMaxFilesUser()
        Sets the maximum number of files a single user may upload to the server (set to 0 to disable this limitation). minimum: 0
        Returns:
        maxFilesUser
      • setMaxFilesUser

        public void setMaxFilesUser​(Integer maxFilesUser)
      • getUploadLimit

        @Nullable
        public @Nullable Integer getUploadLimit()
        Sets the maximum size (in bytes) a file uploaded to the server may have (set to 0 to disable this limitation). minimum: 0
        Returns:
        uploadLimit
      • setUploadLimit

        public void setUploadLimit​(Integer uploadLimit)
      • getUploadLimitUser

        @Nullable
        public @Nullable Integer getUploadLimitUser()
        Sets the maximum size (in bytes) a file uploaded by a single user may have (set to 0 to disable this limitation). minimum: 0
        Returns:
        uploadLimitUser
      • setUploadLimitUser

        public void setUploadLimitUser​(Integer uploadLimitUser)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object