|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
IFeedbackMessageFilter |
getFeedbackMessageCleanupFilter()
Returns the cleanup feedack message filter. |
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 |
setFeedbackMessageCleanupFilter(IFeedbackMessageFilter filter)
Sets the cleanup feedback message filter. |
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 IApplicationSettings
IApplicationSettings.getAccessDeniedPage()
public IClassResolver getClassResolver()
IApplicationSettings
getClassResolver
in interface IApplicationSettings
IApplicationSettings.getClassResolver()
public Bytes getDefaultMaximumUploadSize()
IApplicationSettings
Form.getMaxSize()
if no
value is explicitly set through Form.setMaxSize(Bytes)
.
getDefaultMaximumUploadSize
in interface IApplicationSettings
public Class<? extends Page> getInternalErrorPage()
IApplicationSettings
getInternalErrorPage
in interface IApplicationSettings
IApplicationSettings.getInternalErrorPage()
public Class<? extends Page> getPageExpiredErrorPage()
IApplicationSettings
getPageExpiredErrorPage
in interface IApplicationSettings
IApplicationSettings.getPageExpiredErrorPage()
public boolean isUploadProgressUpdatesEnabled()
IApplicationSettings
isUploadProgressUpdatesEnabled
in interface IApplicationSettings
IApplicationSettings.isUploadProgressUpdatesEnabled()
public void setAccessDeniedPage(Class<? extends Page> accessDeniedPage)
IApplicationSettings
setAccessDeniedPage
in interface IApplicationSettings
accessDeniedPage
- The accessDeniedPage to set.IApplicationSettings.setAccessDeniedPage(java.lang.Class)
public void setClassResolver(IClassResolver defaultClassResolver)
IApplicationSettings
setClassResolver
in interface IApplicationSettings
defaultClassResolver
- The default class resolverIApplicationSettings.setClassResolver(org.apache.wicket.application.IClassResolver)
public void setDefaultMaximumUploadSize(Bytes defaultMaximumUploadSize)
IApplicationSettings
Form.getMaxSize()
if no
value is explicitly set through Form.setMaxSize(Bytes)
.
setDefaultMaximumUploadSize
in interface IApplicationSettings
defaultMaximumUploadSize
- the default maximum size for uploadsIApplicationSettings.setDefaultMaximumUploadSize(org.apache.wicket.util.lang.Bytes)
public void setInternalErrorPage(Class<? extends Page> internalErrorPage)
IApplicationSettings
setInternalErrorPage
in interface IApplicationSettings
internalErrorPage
- The internalErrorPage to set.IApplicationSettings.setInternalErrorPage(java.lang.Class)
public void setPageExpiredErrorPage(Class<? extends Page> pageExpiredErrorPage)
IApplicationSettings
setPageExpiredErrorPage
in interface IApplicationSettings
pageExpiredErrorPage
- The pageExpiredErrorPage to set.IApplicationSettings.setPageExpiredErrorPage(java.lang.Class)
public void setUploadProgressUpdatesEnabled(boolean uploadProgressUpdatesEnabled)
IApplicationSettings
setUploadProgressUpdatesEnabled
in interface IApplicationSettings
uploadProgressUpdatesEnabled
- if true upload progress monitoring is enabledIApplicationSettings.setUploadProgressUpdatesEnabled(boolean)
public void setFeedbackMessageCleanupFilter(IFeedbackMessageFilter filter)
IApplicationSettings
IApplicationSettings.getFeedbackMessageCleanupFilter()
for
more details.
setFeedbackMessageCleanupFilter
in interface IApplicationSettings
public IFeedbackMessageFilter getFeedbackMessageCleanupFilter()
IApplicationSettings
getFeedbackMessageCleanupFilter
in interface IApplicationSettings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |