|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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.
Field Summary | |
---|---|
static String |
DEFAULT_WINDOW_HANDLER_HTML_FILE
The location of the default windowhandler resource |
Method Summary | |
---|---|
String |
getWindowHandlerHtml()
This might return different windowhandlers based on user settings like his language, an affiliation, etc |
String |
getWindowHandlerResourceLocation()
For branding the windowhandler page - e.g. change the backgroundcolour or the language of the message text - you can just copy the content of the DEFAULT_WINDOW_HANDLER_HTML_FILE and adopt it to your needs. |
boolean |
isJavaScriptEnabled()
Defaults to true . |
void |
setJavaScriptEnabled(boolean javaScriptEnabled)
Set it to false if you don't like to use the
JavaScript based client side windowhandler. |
Field Detail |
---|
static final String DEFAULT_WINDOW_HANDLER_HTML_FILE
Method Detail |
---|
boolean isJavaScriptEnabled()
true
.
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
- String getWindowHandlerResourceLocation()
DEFAULT_WINDOW_HANDLER_HTML_FILE
and adopt it to your needs.
String getWindowHandlerHtml() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |