@ConfigurationProperties(value="jsf.icefaces")
public class IcefacesProperties
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IcefacesProperties.Ace |
static class |
IcefacesProperties.FileEntry |
static class |
IcefacesProperties.Render |
Constructor and Description |
---|
IcefacesProperties() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
IcefacesProperties.Ace |
getAce() |
java.lang.Boolean |
getAutoid()
Setting org.icefaces.autoid to true causes the majority of standard JSF components to write their IDs to the page.
|
java.lang.Boolean |
getBlockUiOnSubmit()
Setting org.icefaces.blockUIOnSubmit to true tells ICEfaces that the user interface (UI) should block any subsequent requests until the current request has been processed.
|
java.lang.Boolean |
getClientSideElementUpdateDetermination()
Applications or components that use ice.onElementUpdate javascript registration function can choose to use server or client side implementation for the callback matching of the elements that were updated or removed from the document.
|
java.lang.Boolean |
getCoalesceResources()
Setting org.icefaces.coalesceResources to true indicates to the ICEfaces core framework that the resources required by the rendered components are to be coalesced.
|
java.lang.Boolean |
getCompressDom()
Setting org.icefaces.compressDOM to true indicates to the ICEfaces core framework that the server-side DOM representation of the current view should be serialized and compressed between requests.
|
java.lang.Boolean |
getCompressResources()
By default, ICEfaces will not gzip compress any resource responses.
|
java.lang.String |
getConnectionLostRedirectUri()
Setting org.icefaces.connectionLostRedirectURI to a valid URI tells ICEfaces that when the Ajax Push connection is lost, that the client is to be redirected to the specified page.
|
java.lang.Boolean |
getDeltaSubmit()
Setting org.icefaces.deltaSubmit to true tells ICEfaces that form submission should be handled in a special way to minimize what is sent across the wire.
|
java.lang.Boolean |
getDisableDefaultErrorPopups()
This parameter can be used to disable the popups rendered by default when a network error, session expiry or server error occurs.
|
java.lang.Boolean |
getFetchPendingNotificationsOnLoad()
The default value of true for org.icefaces.fetchPendingNotificationsOnLoad indicates that whenever the blocking connection switches over to another window each window will issue a request for the updates that were potentially issued during the switch.
|
IcefacesProperties.FileEntry |
getFileEntry() |
java.lang.Boolean |
getFocusManaged()
By default, when ICEfaces is available, focus retention will ensure that the focused element in the page preserves its focus when the partial update modified the element.
|
java.lang.Boolean |
getGenerateHeadUpdate()
This parameter can be used to enable (or disable) successful update of the HTML head element.
|
java.lang.Boolean |
getLazyPush()
By default, when using Ajax Push, the feature is activated in a lazy fashion.
|
java.lang.Boolean |
getLazyWindowScope()
By default, when using window-scoped beans, the window management is activated in a lazy fashion.
|
java.util.List<java.lang.String> |
getMandatoryResourceConfiguration()
The org.icefaces.mandatoryResourceConfiguration context-parameter may be set to one of three values: none, all, or a space delimited list of components.
|
java.lang.Boolean |
getMessagePersistence()
By default, when ICEfaces is available, FacesMessages are persisted across different partial submits from the same page.
|
java.lang.String |
getPublicContextPath()
Setting org.icefaces.publicContextPath to a valid path tells ICEfaces to replace the natural context path (usually, the web-application name) of all resources, form URLs, local bookmarks and local redirects to the specified path.
|
IcefacesProperties.Render |
getRender() |
java.lang.Boolean |
getReplayNavigationOnReload()
This parameter can be used to replay the navigation rules when the page is reloaded.
|
java.lang.String |
getSessionExpiredRedirectUri()
Setting org.icefaces.sessionExpiredRedirectURI to a valid URI tells ICEfaces that when the user session expires, that the client is to be redirected to the specified page.
|
java.lang.String |
getSessionTimeoutRedirectUri()
Setting org.icefaces.sessionTimeoutRedirectURII to a valid URI tells ICEfaces that when the user session expires due to user inactivity, that the client is to be redirected to the specified page.
|
java.lang.Boolean |
getStandardFormSerialization()
By default, ICEfaces does optimized serialization and submission of form elements based on the element that triggered the submission.
|
java.lang.Boolean |
getStrictSessionTimeout()
The default value of false for org.icefaces.strictSessionTimeout indicates that ICEfaces should not interfere with container-managed control of session timeout.
|
java.lang.Boolean |
getSubtreeDiff()
By default, when using ICEfaces, Ajax-specified subtree diffing is always done.
|
java.lang.Boolean |
getUniqueResourceUrls()
The default value of "true" will cause ICEfaces to append random numbers to certain resource URLs, thereby preventing caching.
|
java.util.List<java.lang.String> |
getVersionableTypes()
By default, ICEfaces adds a version number parameter to the URL of most resource types.
|
java.time.Duration |
getWarnBeforeSessionExpiryInterval()
A value, in milliseconds, indicating the interval of how much earlier the warning that the session is about to expire is to be issued.
|
java.time.Duration |
getWindowScopeExpiration()
A value, in milliseconds, indicating how long window-scoped values should remain valid in the session after a reload or redirect occurs.
|
int |
hashCode() |
void |
setAutoid(java.lang.Boolean autoid)
Setting org.icefaces.autoid to true causes the majority of standard JSF components to write their IDs to the page.
|
void |
setBlockUiOnSubmit(java.lang.Boolean blockUiOnSubmit)
Setting org.icefaces.blockUIOnSubmit to true tells ICEfaces that the user interface (UI) should block any subsequent requests until the current request has been processed.
|
void |
setClientSideElementUpdateDetermination(java.lang.Boolean clientSideElementUpdateDetermination)
Applications or components that use ice.onElementUpdate javascript registration function can choose to use server or client side implementation for the callback matching of the elements that were updated or removed from the document.
|
void |
setCoalesceResources(java.lang.Boolean coalesceResources)
Setting org.icefaces.coalesceResources to true indicates to the ICEfaces core framework that the resources required by the rendered components are to be coalesced.
|
void |
setCompressDom(java.lang.Boolean compressDom)
Setting org.icefaces.compressDOM to true indicates to the ICEfaces core framework that the server-side DOM representation of the current view should be serialized and compressed between requests.
|
void |
setCompressResources(java.lang.Boolean compressResources)
By default, ICEfaces will not gzip compress any resource responses.
|
void |
setConnectionLostRedirectUri(java.lang.String connectionLostRedirectUri)
Setting org.icefaces.connectionLostRedirectURI to a valid URI tells ICEfaces that when the Ajax Push connection is lost, that the client is to be redirected to the specified page.
|
void |
setDeltaSubmit(java.lang.Boolean deltaSubmit)
Setting org.icefaces.deltaSubmit to true tells ICEfaces that form submission should be handled in a special way to minimize what is sent across the wire.
|
void |
setDisableDefaultErrorPopups(java.lang.Boolean disableDefaultErrorPopups)
This parameter can be used to disable the popups rendered by default when a network error, session expiry or server error occurs.
|
void |
setFetchPendingNotificationsOnLoad(java.lang.Boolean fetchPendingNotificationsOnLoad)
The default value of true for org.icefaces.fetchPendingNotificationsOnLoad indicates that whenever the blocking connection switches over to another window each window will issue a request for the updates that were potentially issued during the switch.
|
void |
setFocusManaged(java.lang.Boolean focusManaged)
By default, when ICEfaces is available, focus retention will ensure that the focused element in the page preserves its focus when the partial update modified the element.
|
void |
setGenerateHeadUpdate(java.lang.Boolean generateHeadUpdate)
This parameter can be used to enable (or disable) successful update of the HTML head element.
|
void |
setLazyPush(java.lang.Boolean lazyPush)
By default, when using Ajax Push, the feature is activated in a lazy fashion.
|
void |
setLazyWindowScope(java.lang.Boolean lazyWindowScope)
By default, when using window-scoped beans, the window management is activated in a lazy fashion.
|
void |
setMandatoryResourceConfiguration(java.util.List<java.lang.String> mandatoryResourceConfiguration)
The org.icefaces.mandatoryResourceConfiguration context-parameter may be set to one of three values: none, all, or a space delimited list of components.
|
void |
setMessagePersistence(java.lang.Boolean messagePersistence)
By default, when ICEfaces is available, FacesMessages are persisted across different partial submits from the same page.
|
void |
setPublicContextPath(java.lang.String publicContextPath)
Setting org.icefaces.publicContextPath to a valid path tells ICEfaces to replace the natural context path (usually, the web-application name) of all resources, form URLs, local bookmarks and local redirects to the specified path.
|
void |
setReplayNavigationOnReload(java.lang.Boolean replayNavigationOnReload)
This parameter can be used to replay the navigation rules when the page is reloaded.
|
void |
setSessionExpiredRedirectUri(java.lang.String sessionExpiredRedirectUri)
Setting org.icefaces.sessionExpiredRedirectURI to a valid URI tells ICEfaces that when the user session expires, that the client is to be redirected to the specified page.
|
void |
setSessionTimeoutRedirectUri(java.lang.String sessionTimeoutRedirectUri)
Setting org.icefaces.sessionTimeoutRedirectURII to a valid URI tells ICEfaces that when the user session expires due to user inactivity, that the client is to be redirected to the specified page.
|
void |
setStandardFormSerialization(java.lang.Boolean standardFormSerialization)
By default, ICEfaces does optimized serialization and submission of form elements based on the element that triggered the submission.
|
void |
setStrictSessionTimeout(java.lang.Boolean strictSessionTimeout)
The default value of false for org.icefaces.strictSessionTimeout indicates that ICEfaces should not interfere with container-managed control of session timeout.
|
void |
setSubtreeDiff(java.lang.Boolean subtreeDiff)
By default, when using ICEfaces, Ajax-specified subtree diffing is always done.
|
void |
setUniqueResourceUrls(java.lang.Boolean uniqueResourceUrls)
The default value of "true" will cause ICEfaces to append random numbers to certain resource URLs, thereby preventing caching.
|
void |
setVersionableTypes(java.util.List<java.lang.String> versionableTypes)
By default, ICEfaces adds a version number parameter to the URL of most resource types.
|
void |
setWarnBeforeSessionExpiryInterval(java.time.Duration warnBeforeSessionExpiryInterval)
A value, in milliseconds, indicating the interval of how much earlier the warning that the session is about to expire is to be issued.
|
void |
setWindowScopeExpiration(java.time.Duration windowScopeExpiration)
A value, in milliseconds, indicating how long window-scoped values should remain valid in the session after a reload or redirect occurs.
|
java.lang.String |
toString() |
public java.lang.Boolean getFetchPendingNotificationsOnLoad()
public java.lang.Boolean getGenerateHeadUpdate()
public java.time.Duration getWarnBeforeSessionExpiryInterval()
public java.lang.Boolean getAutoid()
public java.lang.Boolean getBlockUiOnSubmit()
public java.lang.Boolean getClientSideElementUpdateDetermination()
public java.lang.Boolean getCoalesceResources()
The feature uses the Resource dependencies metadata to coalesce the resources in the correct order. Any request issued after the first GET request (for the user session) that changes the type and number of required resources will trigger only the loading of the newly required resources. This behaviour avoids the continuous reloading of the coalesced resource, every time the set of required resources has changed.
mandatoryResourceConfiguration can be used to pre-define the resources that are needed right away (on session start). This way the application can be configured to deterministically coalesce the resources that are known to be used most of the time.
The default value for the parameter used to enable/disable the coalescing is false.
public java.lang.Boolean getCompressDom()
public java.lang.Boolean getCompressResources()
public java.lang.String getConnectionLostRedirectUri()
public java.lang.Boolean getDeltaSubmit()
public java.lang.Boolean getDisableDefaultErrorPopups()
public IcefacesProperties.FileEntry getFileEntry()
public java.lang.Boolean getFocusManaged()
public IcefacesProperties.Ace getAce()
public java.lang.Boolean getLazyPush()
public java.lang.Boolean getLazyWindowScope()
public java.util.List<java.lang.String> getMandatoryResourceConfiguration()
public java.lang.Boolean getMessagePersistence()
public java.lang.String getPublicContextPath()
public IcefacesProperties.Render getRender()
public java.lang.Boolean getReplayNavigationOnReload()
public java.lang.String getSessionExpiredRedirectUri()
<icecore:refresh>
, the user will be redirected automatically on session expiry.
Otherwise, they will be redirected on the next request after session expiry.public java.lang.String getSessionTimeoutRedirectUri()
<icecore:refresh>
, the user will be redirected automatically on session expiry.
Otherwise, they will be redirected on the next request after session expiry.public java.lang.Boolean getStandardFormSerialization()
public java.lang.Boolean getStrictSessionTimeout()
public java.lang.Boolean getSubtreeDiff()
public java.lang.Boolean getUniqueResourceUrls()
public java.util.List<java.lang.String> getVersionableTypes()
public java.time.Duration getWindowScopeExpiration()
public void setFetchPendingNotificationsOnLoad(java.lang.Boolean fetchPendingNotificationsOnLoad)
public void setGenerateHeadUpdate(java.lang.Boolean generateHeadUpdate)
public void setWarnBeforeSessionExpiryInterval(java.time.Duration warnBeforeSessionExpiryInterval)
public void setAutoid(java.lang.Boolean autoid)
public void setBlockUiOnSubmit(java.lang.Boolean blockUiOnSubmit)
public void setClientSideElementUpdateDetermination(java.lang.Boolean clientSideElementUpdateDetermination)
public void setCoalesceResources(java.lang.Boolean coalesceResources)
The feature uses the Resource dependencies metadata to coalesce the resources in the correct order. Any request issued after the first GET request (for the user session) that changes the type and number of required resources will trigger only the loading of the newly required resources. This behaviour avoids the continuous reloading of the coalesced resource, every time the set of required resources has changed.
mandatoryResourceConfiguration can be used to pre-define the resources that are needed right away (on session start). This way the application can be configured to deterministically coalesce the resources that are known to be used most of the time.
The default value for the parameter used to enable/disable the coalescing is false.
public void setCompressDom(java.lang.Boolean compressDom)
public void setCompressResources(java.lang.Boolean compressResources)
public void setConnectionLostRedirectUri(java.lang.String connectionLostRedirectUri)
public void setDeltaSubmit(java.lang.Boolean deltaSubmit)
public void setDisableDefaultErrorPopups(java.lang.Boolean disableDefaultErrorPopups)
public void setFocusManaged(java.lang.Boolean focusManaged)
public void setLazyPush(java.lang.Boolean lazyPush)
public void setLazyWindowScope(java.lang.Boolean lazyWindowScope)
public void setMandatoryResourceConfiguration(java.util.List<java.lang.String> mandatoryResourceConfiguration)
public void setMessagePersistence(java.lang.Boolean messagePersistence)
public void setPublicContextPath(java.lang.String publicContextPath)
public void setReplayNavigationOnReload(java.lang.Boolean replayNavigationOnReload)
public void setSessionExpiredRedirectUri(java.lang.String sessionExpiredRedirectUri)
<icecore:refresh>
, the user will be redirected automatically on session expiry.
Otherwise, they will be redirected on the next request after session expiry.public void setSessionTimeoutRedirectUri(java.lang.String sessionTimeoutRedirectUri)
<icecore:refresh>
, the user will be redirected automatically on session expiry.
Otherwise, they will be redirected on the next request after session expiry.public void setStandardFormSerialization(java.lang.Boolean standardFormSerialization)
public void setStrictSessionTimeout(java.lang.Boolean strictSessionTimeout)
public void setSubtreeDiff(java.lang.Boolean subtreeDiff)
public void setUniqueResourceUrls(java.lang.Boolean uniqueResourceUrls)
public void setVersionableTypes(java.util.List<java.lang.String> versionableTypes)
public void setWindowScopeExpiration(java.time.Duration windowScopeExpiration)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object