| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowAnonymousAccess()
Defines whether anonymous user is allowed to access the app.
|
boolean |
getAllowHandleBrowserHistoryBack()
Deprecated.
use
getUrlHandlingMode() instead |
int |
getAppFoldersRefreshPeriodSec() |
int |
getAppLogMaxItemsCount() |
java.lang.String |
getAppWindowMode() |
java.lang.String |
getAppWindowTheme() |
java.lang.Integer |
getBackgroundThreadsCount() |
int |
getClientBackgroundTasksLatencySeconds() |
boolean |
getCloseIdleHttpSessions() |
java.util.List<java.lang.String> |
getCubaHttpFilterBypassUrls() |
int |
getCustomDeviceWidthForViewport() |
boolean |
getDefaultScreenCanBeClosed()
Defines whether default screen can be closed or not when TABBED work area mode is used.
|
java.lang.String |
getDefaultScreenId()
Defines which screen should be opened after login.
|
java.util.List<java.lang.String> |
getExternalHttpFilterBypassUrls()
Enables to pass additional Cuba HTTP Filter bypass URLs from application components.
|
int |
getFoldersPaneDefaultWidth() |
boolean |
getFoldersPaneEnabled() |
boolean |
getFoldersPaneVisibleByDefault() |
boolean |
getForceRefreshAuthenticatedTabs()
Defines whether app should perform force refresh for browser tabs
with authenticated sessions.
|
boolean |
getHtmlSanitizerEnabled()
Defines whether to sanitize the value of components using
HtmlSanitizer
to prevent Cross-site Scripting (XSS) in HTML context. |
int |
getHttpSessionExpirationTimeoutSec() |
java.lang.String |
getInitialScreenId()
Defines the screen that will be open for non-authenticated user when an application opened.
|
java.util.List<java.lang.String> |
getLinkHandlerActions() |
java.lang.String |
getLoginAction() |
java.lang.String |
getLoginDialogDefaultPassword() |
java.lang.String |
getLoginDialogDefaultUser() |
boolean |
getLoginDialogPoweredByLinkVisible() |
java.lang.String |
getLoginScreenId()
Defines the screen that will be used as Login screen: new
LoginScreen or legacy AppLoginWindow. |
int |
getLogLongRequestsThresholdSec() |
java.util.List<java.lang.String> |
getLoweredAttentionPatterns()
Defines the list of regular expression patterns that are applied to each row of the log in the Server Log window.
|
java.lang.String |
getMainScreenId()
Defines the screen that will be used as Main screen: new
MainScreen or legacy AppMainWindow. |
int |
getMainTabCaptionLength() |
MainTabSheetMode |
getMainTabSheetMode()
Sets whether default
CubaMainTabSheet or
CubaManagedTabSheet will be used in AppWorkArea. |
ManagedMainTabSheetMode |
getManagedMainTabSheetMode()
Sets how the managed main TabSheet switches its tabs: hides or unloads them.
|
java.lang.Integer |
getMaxActiveBackgroundTasksCount()
Deprecated.
|
int |
getMaxTabCount() |
java.lang.Integer |
getMinBackgroundThreadsCount()
Deprecated.
|
java.lang.String |
getPageInitialScale() |
boolean |
getProductionMode() |
boolean |
getPushEnabled() |
int |
getPushLongPollingSuspendTimeoutMs()
Returns push timeout in milliseconds,
which is used in case of using long polling transport, i.e.
|
boolean |
getRememberMeEnabled() |
java.lang.String |
getResourcesRoot() |
java.lang.String |
getServerErrorPageTemplate() |
boolean |
getShowBreadCrumbs() |
boolean |
getShowFolderIcons() |
double |
getTableCacheRate()
This property adjusts a possible caching mechanism of table implementation.
|
int |
getTablePageLength()
Sets the page length for Table implementation - count of rows for first rendering of Table.
|
int |
getUiHeartbeatIntervalSec() |
java.lang.String |
getUnsupportedPagePath()
Defines the path to the unsupported HTML page that is shown when an application doesn't support the current
browser version.
|
UrlHandlingMode |
getUrlHandlingMode() |
boolean |
getUseDeviceWidthForViewport() |
boolean |
getUseInverseHeader() |
boolean |
getUseLocalServiceInvocation() |
boolean |
getUsePushLongPolling() |
boolean |
getUserCanChooseDefaultScreen()
Defines whether a user is able to choose the default screen or not.
|
boolean |
getUseRedirectWithBlankPageForLinkAction() |
boolean |
getUseSessionFixationProtection()
Reinitialize session after login to protect from Session Fixation attacks.
|
java.util.List<java.lang.String> |
getViewFileExtensions() |
long |
getWebJarResourcesCacheTime()
Enables to configure whether WebJar resources should be cached or not.
|
long |
getWebResourcesCacheTime()
Enables to configure whether web resources should be cached or not.
|
java.lang.String |
getWidgetSet() |
void |
setDefaultScreenCanBeClosed(boolean value) |
void |
setDefaultScreenId(java.lang.String screenId) |
void |
setUserCanChooseDefaultScreen(boolean b) |
boolean getUseLocalServiceInvocation()
@Default(value="admin") java.lang.String getLoginDialogDefaultUser()
@Default(value="admin") java.lang.String getLoginDialogDefaultPassword()
boolean getLoginDialogPoweredByLinkVisible()
int getHttpSessionExpirationTimeoutSec()
cuba.userSessionExpirationTimeoutSec@Default(value="/ws/,/dispatch/,/front/") java.util.List<java.lang.String> getCubaHttpFilterBypassUrls()
java.util.List<java.lang.String> getExternalHttpFilterBypassUrls()
Related to getCubaHttpFilterBypassUrls().
@Default(value="TABBED") java.lang.String getAppWindowMode()
int getMaxTabCount()
int getLogLongRequestsThresholdSec()
boolean getFoldersPaneEnabled()
int getAppFoldersRefreshPeriodSec()
boolean getShowFolderIcons()
boolean getFoldersPaneVisibleByDefault()
CubaFoldersPane on first login.int getFoldersPaneDefaultWidth()
CubaFoldersPane width.boolean getShowBreadCrumbs()
int getMainTabCaptionLength()
@Deprecated boolean getAllowHandleBrowserHistoryBack()
getUrlHandlingMode() instead@Default(value="URL_ROUTES") UrlHandlingMode getUrlHandlingMode()
UrlHandlingModeboolean getUseInverseHeader()
@Default(value="htm|html|jpg|png|jpeg|pdf") java.util.List<java.lang.String> getViewFileExtensions()
java.lang.String getResourcesRoot()
@Nullable java.lang.Integer getBackgroundThreadsCount()
@Deprecated java.lang.Integer getMinBackgroundThreadsCount()
getBackgroundThreadsCount()@Deprecated java.lang.Integer getMaxActiveBackgroundTasksCount()
getBackgroundThreadsCount()int getClientBackgroundTasksLatencySeconds()
java.lang.String getLoginAction()
@Default(value="open|o") java.util.List<java.lang.String> getLinkHandlerActions()
LinkHandler
boolean getUseSessionFixationProtection()
boolean getRememberMeEnabled()
int getTablePageLength()
double getTableCacheRate()
getTablePageLength() both below
and above visible area.boolean getUseRedirectWithBlankPageForLinkAction()
int getAppLogMaxItemsCount()
AppLog queueint getUiHeartbeatIntervalSec()
getHttpSessionExpirationTimeoutSec() / 3. Set to 0 in order to disable heartbeat requests.boolean getCloseIdleHttpSessions()
getHttpSessionExpirationTimeoutSec()
expires after the last non-heartbeat request.boolean getUsePushLongPolling()
int getPushLongPollingSuspendTimeoutMs()
cuba.web.pushLongPolling="true".boolean getPushEnabled()
boolean getProductionMode()
@Default(value="com.haulmont.cuba.web.widgets.WidgetSet") java.lang.String getWidgetSet()
boolean getUseDeviceWidthForViewport()
int getCustomDeviceWidthForViewport()
java.lang.String getPageInitialScale()
@Default(value="DEFAULT") MainTabSheetMode getMainTabSheetMode()
CubaMainTabSheet or
CubaManagedTabSheet will be used in AppWorkArea.MainTabSheetMode values@Default(value="HIDE_TABS") ManagedMainTabSheetMode getManagedMainTabSheetMode()
ManagedMainTabSheetMode values@Default(value="/com/haulmont/cuba/web/sys/errors/server-error.html") java.lang.String getServerErrorPageTemplate()
java.lang.String getDefaultScreenId()
void setDefaultScreenId(java.lang.String screenId)
boolean getUserCanChooseDefaultScreen()
void setUserCanChooseDefaultScreen(boolean b)
boolean getDefaultScreenCanBeClosed()
void setDefaultScreenCanBeClosed(boolean value)
@Default(value="at com.sun[\\.]proxy[\\.][\\$]Proxy|at groovy[\\.]|at java[\\.]lang[\\.]reflect[\\.]Constructor[\\.]newInstance|at java[\\.]lang[\\.]reflect[\\.]Method[\\.]invoke|at java[\\.]rmi[\\.]|at java[\\.]security[\\.]AccessControlContext[\\$]1[\\.]doIntersectionPrivilege|at java[\\.]security[\\.]AccessController[\\.]doPrivileged|at java[\\.]security[\\.]ProtectionDomain[\\$]1[\\.]doIntersectionPrivilege|at java[\\.]security[\\.]ProtectionDomain[\\$]JavaSecurityAccessImpl[\\.]doIntersectionPrivilege|at java[\\.]util[\\.]Spliterators[\\$]|at java[\\.]util[\\.]stream[\\.]AbstractPipeline[\\.]copyInto|at java[\\.]util[\\.]stream[\\.]AbstractPipeline[\\.]evaluate|at java[\\.]util[\\.]stream[\\.]AbstractPipeline[\\.]wrapAndCopyInto|at java[\\.]util[\\.]stream[\\.]ReduceOps[\\$]|at java[\\.]util[\\.]stream[\\.]ReferencePipeline[\\$]|at org[\\.]codehaus[\\.]groovy[\\.]|at org[\\.]gradle[\\.]|at sun[\\.]reflect[\\.]|at sun[\\.]rmi[\\.]|at com[\\.]vaadin[\\.]event[\\.]EventRouter[\\.]fireEvent|at com[\\.]vaadin[\\.]server[\\.]ServerRpcManager") java.util.List<java.lang.String> getLoweredAttentionPatterns()
long getWebResourcesCacheTime()
Zero cache time disables caching at all.
long getWebJarResourcesCacheTime()
Zero cache time disables caching at all.
java.lang.String getUnsupportedPagePath()
java.lang.String getLoginScreenId()
LoginScreen or legacy AppLoginWindow.
Set the property to "login" to use new LoginScreen or "loginWindow" to use legacy
AppLoginWindow.
java.lang.String getMainScreenId()
MainScreen or legacy AppMainWindow.
Set the property to "main" to use new MainScreen or "mainWindow" to use legacy
AppMainWindow.
java.lang.String getInitialScreenId()
boolean getForceRefreshAuthenticatedTabs()
Notification that session is changed in another tab is shown by default.
boolean getAllowAnonymousAccess()
boolean getHtmlSanitizerEnabled()
HtmlSanitizer
to prevent Cross-site Scripting (XSS) in HTML context.