org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class DefaultClientConfig
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultClientConfig
- All Implemented Interfaces:
- Serializable, ClientConfig
@SessionScoped
public class DefaultClientConfig
- extends Object
- implements ClientConfig
Contains information about whether the user has
JavaScript enabled on his client, etc.
It also contains the windowhandler html which gets sent to
the browser to detect the current windowId.
This allows the 'customisation' of this html file to e.g.
adopt the background colour to avoid screen flickering.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
windowHandlerHtml
protected String windowHandlerHtml
DefaultClientConfig
public DefaultClientConfig()
isJavaScriptEnabled
public boolean isJavaScriptEnabled()
- Specified by:
isJavaScriptEnabled
in interface ClientConfig
setJavaScriptEnabled
public void setJavaScriptEnabled(boolean javaScriptEnabled)
- Specified by:
setJavaScriptEnabled
in interface ClientConfig
getWindowHandlerResourceLocation
public String getWindowHandlerResourceLocation()
- Specified by:
getWindowHandlerResourceLocation
in interface ClientConfig
getWindowHandlerHtml
public String getWindowHandlerHtml()
throws IOException
- Specified by:
getWindowHandlerHtml
in interface ClientConfig
- Throws:
IOException
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.