public class ApplicationSettings extends Object implements ApplicationSettingsMBean
Constructor and Description |
---|
ApplicationSettings(Application application)
Create.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessDeniedPage()
Gets the access denied page class.
|
String |
getClassResolver()
Gets the default resolver to use when finding classes
|
String |
getDefaultMaximumUploadSize()
Gets the default maximum size for uploads.
|
String |
getInternalErrorPage()
Gets internal error page class.
|
String |
getPageExpiredErrorPage()
Gets the page expired page class.
|
String |
getUnexpectedExceptionDisplay()
Gets the unexpected exception display.
|
void |
setDefaultMaximumUploadSize(String defaultUploadSize)
Sets the default maximum size for uploads.
|
public ApplicationSettings(Application application)
application
- public String getAccessDeniedPage()
ApplicationSettingsMBean
getAccessDeniedPage
in interface ApplicationSettingsMBean
ApplicationSettingsMBean.getAccessDeniedPage()
public String getClassResolver()
ApplicationSettingsMBean
getClassResolver
in interface ApplicationSettingsMBean
ApplicationSettingsMBean.getClassResolver()
public String getDefaultMaximumUploadSize()
ApplicationSettingsMBean
Form.getMaxSize()
if no
value is explicitly set through Form.setMaxSize(Bytes)
.getDefaultMaximumUploadSize
in interface ApplicationSettingsMBean
public String getInternalErrorPage()
ApplicationSettingsMBean
getInternalErrorPage
in interface ApplicationSettingsMBean
ApplicationSettingsMBean.getInternalErrorPage()
public String getPageExpiredErrorPage()
ApplicationSettingsMBean
getPageExpiredErrorPage
in interface ApplicationSettingsMBean
ApplicationSettingsMBean.getPageExpiredErrorPage()
public String getUnexpectedExceptionDisplay()
ApplicationSettingsMBean
getUnexpectedExceptionDisplay
in interface ApplicationSettingsMBean
ApplicationSettingsMBean.getUnexpectedExceptionDisplay()
public void setDefaultMaximumUploadSize(String defaultUploadSize)
ApplicationSettingsMBean
Form.getMaxSize()
if no
value is explicitly set through Form.setMaxSize(Bytes)
. The String value should be a
floating point value followed by K, M, G or T for kilobytes, megabytes, gigabytes or
terabytes, respectively. The abbreviations KB, MB, GB and TB are also accepted. Matching is
case insensitive.setDefaultMaximumUploadSize
in interface ApplicationSettingsMBean
defaultUploadSize
- the default maximum size for uploadsApplicationSettingsMBean.setDefaultMaximumUploadSize(java.lang.String)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.