Package org.apache.wicket.jmx
Interface ApplicationSettingsMBean
-
- All Known Implementing Classes:
ApplicationSettings
public interface ApplicationSettingsMBean
Application settings.- Author:
- eelcohillenius
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAccessDeniedPage()
Gets the access denied page class.String
getClassResolver()
Gets the default resolver to use when finding classesString
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.
-
-
-
Method Detail
-
getAccessDeniedPage
String getAccessDeniedPage()
Gets the access denied page class.- Returns:
- Returns the accessDeniedPage.
- See Also:
ApplicationSettings.getAccessDeniedPage()
-
getClassResolver
String getClassResolver()
Gets the default resolver to use when finding classes- Returns:
- Default class resolver
-
getDefaultMaximumUploadSize
String 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
String getInternalErrorPage()
Gets internal error page class.- Returns:
- Returns the internalErrorPage.
- See Also:
ApplicationSettings.getInternalErrorPage()
-
getPageExpiredErrorPage
String getPageExpiredErrorPage()
Gets the page expired page class.- Returns:
- Returns the pageExpiredErrorPage.
- See Also:
ApplicationSettings.getPageExpiredErrorPage()
-
getUnexpectedExceptionDisplay
String getUnexpectedExceptionDisplay()
Gets the unexpected exception display.- Returns:
- the unexpected exception display
-
setDefaultMaximumUploadSize
void setDefaultMaximumUploadSize(String defaultUploadSize)
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
-
-