Class JavaxFaces2_3Properties
- java.lang.Object
-
- org.joinfaces.autoconfigure.javaxfaces.JavaxFaces2_3Properties
-
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties(prefix="joinfaces.jsf") public class JavaxFaces2_3Properties extends Object implements ServletContextInitParameterProperties
Configuration propertiesfor JSF 2.3. JavaxFaces standard properties. Taken from https://javaee.github.io/javaee-spec/javadocs/constant-values.html#javax.faces andWebConfigurationclass- See Also:
- JSR-344
-
-
Constructor Summary
Constructors Constructor Description JavaxFaces2_3Properties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleangetAlwaysPerformValidationWhenRequiredIsTrue()If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, validation must be performed, even when there is no corresponding value for this component in the incoming request.BooleangetDisableFacesservletToXhtml()TheServletContextinit parameter consulted by the runtime to tell if the automatic mapping of theFacesServletto the extension*.xhtmlshould be disabled.BooleangetEnableValidateWholeBean()If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstruetake the additional actions relating to<validateWholeBean />specified inBeanValidator.validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object).BooleangetEnableWebsocketEndpoint()The boolean context parameter name to explicitly enable web socket endpoint during startup.BooleangetViewrootPhaseListenerQueuesExceptions()If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListeners installed on theUIViewRootare queued to theExceptionHandlerinstead of being logged and swallowed.IntegergetWebsocketEndpointPort()The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port.inthashCode()voidsetAlwaysPerformValidationWhenRequiredIsTrue(Boolean alwaysPerformValidationWhenRequiredIsTrue)If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, validation must be performed, even when there is no corresponding value for this component in the incoming request.voidsetDisableFacesservletToXhtml(Boolean disableFacesservletToXhtml)TheServletContextinit parameter consulted by the runtime to tell if the automatic mapping of theFacesServletto the extension*.xhtmlshould be disabled.voidsetEnableValidateWholeBean(Boolean enableValidateWholeBean)If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstruetake the additional actions relating to<validateWholeBean />specified inBeanValidator.validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object).voidsetEnableWebsocketEndpoint(Boolean enableWebsocketEndpoint)The boolean context parameter name to explicitly enable web socket endpoint during startup.voidsetViewrootPhaseListenerQueuesExceptions(Boolean viewrootPhaseListenerQueuesExceptions)If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListeners installed on theUIViewRootare queued to theExceptionHandlerinstead of being logged and swallowed.voidsetWebsocketEndpointPort(Integer websocketEndpointPort)The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port.StringtoString()
-
-
-
Method Detail
-
getAlwaysPerformValidationWhenRequiredIsTrue
public Boolean getAlwaysPerformValidationWhenRequiredIsTrue()
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, validation must be performed, even when there is no corresponding value for this component in the incoming request. SeeBeanValidator.validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object).
-
getEnableWebsocketEndpoint
public Boolean getEnableWebsocketEndpoint()
The boolean context parameter name to explicitly enable web socket endpoint during startup.
-
getWebsocketEndpointPort
public Integer getWebsocketEndpointPort()
The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port.
-
getDisableFacesservletToXhtml
public Boolean getDisableFacesservletToXhtml()
TheServletContextinit parameter consulted by the runtime to tell if the automatic mapping of theFacesServletto the extension*.xhtmlshould be disabled. The implementation must disable this automatic mapping if and only if the value of this parameter is equal, ignoring case, totrue.If this parameter is not specified, this automatic mapping is enabled as specified above.
-
getViewrootPhaseListenerQueuesExceptions
public Boolean getViewrootPhaseListenerQueuesExceptions()
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListeners installed on theUIViewRootare queued to theExceptionHandlerinstead of being logged and swallowed.- Since:
- 2.3
-
getEnableValidateWholeBean
public Boolean getEnableValidateWholeBean()
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstruetake the additional actions relating to<validateWholeBean />specified inBeanValidator.validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object).- Since:
- 2.3
-
setAlwaysPerformValidationWhenRequiredIsTrue
public void setAlwaysPerformValidationWhenRequiredIsTrue(Boolean alwaysPerformValidationWhenRequiredIsTrue)
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, validation must be performed, even when there is no corresponding value for this component in the incoming request. SeeBeanValidator.validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object).
-
setEnableWebsocketEndpoint
public void setEnableWebsocketEndpoint(Boolean enableWebsocketEndpoint)
The boolean context parameter name to explicitly enable web socket endpoint during startup.
-
setWebsocketEndpointPort
public void setWebsocketEndpointPort(Integer websocketEndpointPort)
The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port.
-
setDisableFacesservletToXhtml
public void setDisableFacesservletToXhtml(Boolean disableFacesservletToXhtml)
TheServletContextinit parameter consulted by the runtime to tell if the automatic mapping of theFacesServletto the extension*.xhtmlshould be disabled. The implementation must disable this automatic mapping if and only if the value of this parameter is equal, ignoring case, totrue.If this parameter is not specified, this automatic mapping is enabled as specified above.
-
setViewrootPhaseListenerQueuesExceptions
public void setViewrootPhaseListenerQueuesExceptions(Boolean viewrootPhaseListenerQueuesExceptions)
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListeners installed on theUIViewRootare queued to theExceptionHandlerinstead of being logged and swallowed.- Since:
- 2.3
-
setEnableValidateWholeBean
public void setEnableValidateWholeBean(Boolean enableValidateWholeBean)
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstruetake the additional actions relating to<validateWholeBean />specified inBeanValidator.validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object).- Since:
- 2.3
-
canEqual
protected boolean canEqual(Object other)
-
-