- All Known Implementing Classes:
ApplicationSettings
public interface ApplicationSettingsMBean
Application settings.
- Author:
- eelcohillenius
-
Method Summary
Modifier and TypeMethodDescriptionGets the access denied page class.Gets the default resolver to use when finding classesGets the default maximum size for uploads.Gets internal error page class.Gets the page expired page class.Gets the unexpected exception display.void
setDefaultMaximumUploadSize
(String defaultUploadSize) Sets the default maximum size for uploads.
-
Method Details
-
getAccessDeniedPage
Gets the access denied page class.- Returns:
- Returns the accessDeniedPage.
- See Also:
-
getClassResolver
Gets the default resolver to use when finding classes- Returns:
- Default class resolver
-
getDefaultMaximumUploadSize
Gets the default maximum size for uploads. This is used byForm.getMaxSize()
if no value is explicitly set throughForm.setMaxSize(Bytes)
.- Returns:
- the default maximum size for uploads
-
getInternalErrorPage
Gets internal error page class.- Returns:
- Returns the internalErrorPage.
- See Also:
-
getPageExpiredErrorPage
Gets the page expired page class.- Returns:
- Returns the pageExpiredErrorPage.
- See Also:
-
getUnexpectedExceptionDisplay
Gets the unexpected exception display.- Returns:
- the unexpected exception display
-
setDefaultMaximumUploadSize
Sets the default maximum size for uploads. This is used byForm.getMaxSize()
if no value is explicitly set throughForm.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.- Parameters:
defaultUploadSize
- the default maximum size for uploads
-