Class SettingsConfiguredDownloadPolicyProvider
java.lang.Object
com.atlassian.confluence.servlet.download.SettingsConfiguredDownloadPolicyProvider
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<com.atlassian.http.mime.DownloadPolicyProvider>
public class SettingsConfiguredDownloadPolicyProvider
extends Object
implements org.springframework.beans.factory.FactoryBean<com.atlassian.http.mime.DownloadPolicyProvider>
Allows to configure the
DownloadPolicy used by Confluence to be selected via
the global system setting 'attachmentSecurityLevel'.
The default DownloadPolicy will be DownloadPolicy.Smart.
If setup has not been completed then DownloadPolicy.Smart is used.- Since:
- 5.2
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.http.mime.DownloadPolicyProviderClass<?>boolean
-
Constructor Details
-
SettingsConfiguredDownloadPolicyProvider
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.http.mime.DownloadPolicyProvider>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.http.mime.DownloadPolicyProvider>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.http.mime.DownloadPolicyProvider>
-