public class ClientConfig extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| static String | COOKIE_NAME_NOSCRIPT_ENABLEDWe will set a cookie with this very name if a noscript link got clicked by the user | 
| protected String | windowHandlerHtml | 
| Constructor and Description | 
|---|
| ClientConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getUserAgent(FacesContext facesContext)This information will get stored as it cannot
 change during the session anyway. | 
| boolean | isClientSideWindowHandlerRequest(FacesContext facesContext)Users can overload this method to define in which scenarios a request should result
 in an 'intercepted' page with proper windowId detection. | 
| boolean | isJavaScriptEnabled()Defaults to  true. | 
| void | setJavaScriptEnabled(boolean javaScriptEnabled)Set it to  falseif you don't like to use the
 JavaScript based client side windowhandler. | 
public static final String COOKIE_NAME_NOSCRIPT_ENABLED
protected String windowHandlerHtml
public boolean isJavaScriptEnabled()
true.public void setJavaScriptEnabled(boolean javaScriptEnabled)
false if you don't like to use the
 JavaScript based client side windowhandler. In this case
 the request will be returned directly.javaScriptEnabled - public String getUserAgent(FacesContext facesContext)
public boolean isClientSideWindowHandlerRequest(FacesContext facesContext)
true if the Request should get 'intercepted' and the intermediate
        windowhandler.html page should get rendered first. By returning false
        the requested page will get rendered intermediately.for determining the UserAgentCopyright © 2021 The Apache Software Foundation. All rights reserved.