@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 |
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 Annotation> |
getExceptionQualifier()
Defines the
javax.enterprise.Qualifier which will be used to fire the
ExceptionToCatchEvent
for unhandled JSF exceptions. |
protected void |
init() |
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).
|
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.
|
boolean |
isJsf22Available() |
public static final String CLIENT_WINDOW_CONFIG_KEY
public static final String CLIENT_WINDOW_CLASS_NAME
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,...)public Class<? extends Annotation> getExceptionQualifier()
javax.enterprise.Qualifier
which will be used to fire the
ExceptionToCatchEvent
for unhandled JSF exceptions.javax.enterprise.Qualifier
.public boolean isAllowPostRequestWithoutDoubleSubmitPrevention()
public boolean isJsf22Available()
protected void init()
Copyright © 2020 The Apache Software Foundation. All rights reserved.