|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.settings.def.ApplicationSettings
public class ApplicationSettings
| Constructor Summary | |
|---|---|
ApplicationSettings()
|
|
| Method Summary | |
|---|---|
Class<? extends Page> |
getAccessDeniedPage()
Gets the access denied page class. |
IClassResolver |
getClassResolver()
Gets the default resolver to use when finding classes and resources. |
Bytes |
getDefaultMaximumUploadSize()
Gets the default maximum size for uploads. |
Class<? extends Page> |
getInternalErrorPage()
Gets internal error page class. |
Class<? extends Page> |
getPageExpiredErrorPage()
Gets the page expired page class. |
boolean |
isUploadProgressUpdatesEnabled()
Gets whether wicket is providing updates about the upload progress or not. |
void |
setAccessDeniedPage(Class<? extends Page> accessDeniedPage)
Sets the access denied page class. |
void |
setClassResolver(IClassResolver defaultClassResolver)
Sets the default class resolver to use when finding classes and resources. |
void |
setDefaultMaximumUploadSize(Bytes defaultMaximumUploadSize)
Sets the default maximum size for uploads. |
void |
setInternalErrorPage(Class<? extends Page> internalErrorPage)
Sets internal error page class. |
void |
setPageExpiredErrorPage(Class<? extends Page> pageExpiredErrorPage)
Sets the page expired page class. |
void |
setUploadProgressUpdatesEnabled(boolean uploadProgressUpdatesEnabled)
Sets whether wicket should provide updates about the upload progress or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationSettings()
| Method Detail |
|---|
public Class<? extends Page> getAccessDeniedPage()
IApplicationSettings
getAccessDeniedPage in interface IApplicationSettingsIApplicationSettings.getAccessDeniedPage()public IClassResolver getClassResolver()
IApplicationSettings
getClassResolver in interface IApplicationSettingsIApplicationSettings.getClassResolver()public Bytes getDefaultMaximumUploadSize()
IApplicationSettingsForm.getMaxSize() if no
value is explicitly set through Form.setMaxSize(Bytes).
getDefaultMaximumUploadSize in interface IApplicationSettingspublic Class<? extends Page> getInternalErrorPage()
IApplicationSettings
getInternalErrorPage in interface IApplicationSettingsIApplicationSettings.getInternalErrorPage()public Class<? extends Page> getPageExpiredErrorPage()
IApplicationSettings
getPageExpiredErrorPage in interface IApplicationSettingsIApplicationSettings.getPageExpiredErrorPage()public boolean isUploadProgressUpdatesEnabled()
IApplicationSettings
isUploadProgressUpdatesEnabled in interface IApplicationSettingsIApplicationSettings.isUploadProgressUpdatesEnabled()public void setAccessDeniedPage(Class<? extends Page> accessDeniedPage)
IApplicationSettings
setAccessDeniedPage in interface IApplicationSettingsaccessDeniedPage - The accessDeniedPage to set.IApplicationSettings.setAccessDeniedPage(java.lang.Class)public void setClassResolver(IClassResolver defaultClassResolver)
IApplicationSettings
setClassResolver in interface IApplicationSettingsdefaultClassResolver - The default class resolverIApplicationSettings.setClassResolver(org.apache.wicket.application.IClassResolver)public void setDefaultMaximumUploadSize(Bytes defaultMaximumUploadSize)
IApplicationSettingsForm.getMaxSize() if no
value is explicitly set through Form.setMaxSize(Bytes).
setDefaultMaximumUploadSize in interface IApplicationSettingsdefaultMaximumUploadSize - the default maximum size for uploadsIApplicationSettings.setDefaultMaximumUploadSize(org.apache.wicket.util.lang.Bytes)public void setInternalErrorPage(Class<? extends Page> internalErrorPage)
IApplicationSettings
setInternalErrorPage in interface IApplicationSettingsinternalErrorPage - The internalErrorPage to set.IApplicationSettings.setInternalErrorPage(java.lang.Class)public void setPageExpiredErrorPage(Class<? extends Page> pageExpiredErrorPage)
IApplicationSettings
setPageExpiredErrorPage in interface IApplicationSettingspageExpiredErrorPage - The pageExpiredErrorPage to set.IApplicationSettings.setPageExpiredErrorPage(java.lang.Class)public void setUploadProgressUpdatesEnabled(boolean uploadProgressUpdatesEnabled)
IApplicationSettings
setUploadProgressUpdatesEnabled in interface IApplicationSettingsuploadProgressUpdatesEnabled - if true upload progress monitoring is enabledIApplicationSettings.setUploadProgressUpdatesEnabled(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||