@ApplicationScoped public class JsfModuleConfig extends Object implements DeltaSpikeConfig
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_WINDOW_CLASS_NAME |
static String |
CLIENT_WINDOW_CONFIG_KEY |
protected Boolean |
delegatedWindowHandlingEnabled |
Modifier | Constructor and Description |
---|---|
protected |
JsfModuleConfig() |
Modifier and Type | Method and Description |
---|---|
ClientWindowConfig.ClientWindowRenderMode |
getDefaultWindowMode()
If the window-handling of JSF 2.2+ is enabled,
ClientWindowConfig.ClientWindowRenderMode.DELEGATED
will be returned. |
Class<? extends java.lang.annotation.Annotation> |
getExceptionQualifier()
Defines the
javax.enterprise.Qualifier which will be used to fire the
ExceptionToCatchEvent
for unhandled JSF exceptions. |
boolean |
isAllowPostRequestWithoutDoubleSubmitPrevention() |
boolean |
isAlwaysKeepMessages()
Per default all faces-messages are preserved for the next rendering process
|
boolean |
isAlwaysUseNavigationHandlerOnSecurityViolation()
Per default the current view gets replaced with the error-view (in case of a security-violation).
|
boolean |
isContainerManagedConvertersEnabled()
Per default converters get wrapped to restore them properly during a postback (significant without overhead).
|
boolean |
isContainerManagedValidatorsEnabled()
Per default validators get wrapped to restore them properly during a postback (significant without overhead).
|
protected boolean |
isDelegatedWindowHandlingEnabled() |
boolean |
isFullStateSavingFallbackEnabled()
If #initialStateMarked (of the component) returns false, a fallback to full state-saving is possible.
|
boolean |
isInitialRedirectEnabled()
If the initial redirect is enabled, a redirect will be performed for adding the current window-id to the url.
|
protected void |
lazyInitDelegatedWindowHandlingEnabled() |
public static final String CLIENT_WINDOW_CONFIG_KEY
public static final String CLIENT_WINDOW_CLASS_NAME
protected Boolean delegatedWindowHandlingEnabled
public boolean isInitialRedirectEnabled()
public boolean isAlwaysKeepMessages()
public boolean isAlwaysUseNavigationHandlerOnSecurityViolation()
public boolean isContainerManagedConvertersEnabled()
public boolean isContainerManagedValidatorsEnabled()
public boolean isFullStateSavingFallbackEnabled()
public ClientWindowConfig.ClientWindowRenderMode getDefaultWindowMode()
ClientWindowConfig.ClientWindowRenderMode.DELEGATED
will be returned. In all other cases null
gets returned as application wide default value.
That leads to a default-handling per session (which includes logic for handling bots,...)protected void lazyInitDelegatedWindowHandlingEnabled()
public Class<? extends java.lang.annotation.Annotation> getExceptionQualifier()
javax.enterprise.Qualifier
which will be used to fire the
ExceptionToCatchEvent
for unhandled JSF exceptions.javax.enterprise.Qualifier
.public boolean isAllowPostRequestWithoutDoubleSubmitPrevention()
protected boolean isDelegatedWindowHandlingEnabled()
Copyright © 2015 The Apache Software Foundation. All rights reserved.