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 properties
for JSF 2.3.
JavaxFaces standard properties.
Taken from
https://javaee.github.io/javaee-spec/javadocs/constant-values.html#javax.faces
and WebConfiguration
class- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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.TheServletContext
init parameter consulted by the runtime to tell if the automatic mapping of theFacesServlet
to the extension*.xhtml
should be disabled.If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstrue
take the additional actions relating to<validateWholeBean />
specified inBeanValidator.validate(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.Object)
.The boolean context parameter name to explicitly enable web socket endpoint during startup.If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListener
s installed on theUIViewRoot
are queued to theExceptionHandler
instead of being logged and swallowed.The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port.int
hashCode()
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.void
setDisableFacesservletToXhtml
(Boolean disableFacesservletToXhtml) TheServletContext
init parameter consulted by the runtime to tell if the automatic mapping of theFacesServlet
to the extension*.xhtml
should be disabled.void
setEnableValidateWholeBean
(Boolean enableValidateWholeBean) If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstrue
take the additional actions relating to<validateWholeBean />
specified inBeanValidator.validate(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.Object)
.void
setEnableWebsocketEndpoint
(Boolean enableWebsocketEndpoint) The boolean context parameter name to explicitly enable web socket endpoint during startup.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 byPhaseListener
s installed on theUIViewRoot
are queued to theExceptionHandler
instead of being logged and swallowed.void
setWebsocketEndpointPort
(Integer websocketEndpointPort) The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port.toString()
-
Constructor Details
-
JavaxFaces2_3Properties
public JavaxFaces2_3Properties()
-
-
Method Details
-
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(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.Object)
. -
getEnableWebsocketEndpoint
The boolean context parameter name to explicitly enable web socket endpoint during startup. -
getWebsocketEndpointPort
The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port. -
getDisableFacesservletToXhtml
TheServletContext
init parameter consulted by the runtime to tell if the automatic mapping of theFacesServlet
to the extension*.xhtml
should 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
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListener
s installed on theUIViewRoot
are queued to theExceptionHandler
instead of being logged and swallowed.- Since:
- 2.3
-
getEnableValidateWholeBean
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstrue
take the additional actions relating to<validateWholeBean />
specified inBeanValidator.validate(jakarta.faces.context.FacesContext, jakarta.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(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.Object)
. -
setEnableWebsocketEndpoint
The boolean context parameter name to explicitly enable web socket endpoint during startup. -
setWebsocketEndpointPort
The integer context parameter name to specify the websocket endpoint port when it's different from HTTP port. -
setDisableFacesservletToXhtml
TheServletContext
init parameter consulted by the runtime to tell if the automatic mapping of theFacesServlet
to the extension*.xhtml
should 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
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returns true, exceptions thrown byPhaseListener
s installed on theUIViewRoot
are queued to theExceptionHandler
instead of being logged and swallowed.- Since:
- 2.3
-
setEnableValidateWholeBean
If this param is set, and calling toLowerCase().equals("true") on a String representation of its value returnstrue
take the additional actions relating to<validateWholeBean />
specified inBeanValidator.validate(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.Object)
.- Since:
- 2.3
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-