public final class JsoConfiguration
extends com.google.gwt.core.client.JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
JsoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAtmosphereJSVersion()
Gets the JS version used in the Atmosphere framework.
|
String |
getAtmosphereVersion()
Gets the version of the Atmosphere framework.
|
boolean |
getConfigBoolean(String name)
Reads a configuration parameter as a boolean.
|
ErrorMessage |
getConfigError(String name)
Reads a configuration parameter as an
ErrorMessage object. |
Integer |
getConfigInteger(String name)
Reads a configuration parameter as an integer object.
|
String |
getConfigString(String name)
Reads a configuration parameter as a string.
|
String[] |
getConfigStringArray(String name)
Reads a configuration parameter as a String array.
|
ValueMap |
getConfigValueMap(String name)
Reads a configuration parameter as a
ValueMap. |
ValueMap |
getUIDL()
Gets the initial UIDL from the bootstrap page.
|
String |
getVaadinVersion()
Gets the version of the Vaadin framework used on the server.
|
public String getConfigString(String name)
name - name of the configuration parameternull if not
definedpublic ValueMap getConfigValueMap(String name)
ValueMap. Please note that
the javascript value of the parameter should also be a javascript object,
or else an undefined exception may be thrown.name - name of the configuration parameternullif not
definedpublic String[] getConfigStringArray(String name)
name - name of the configuration parameternullif not
definedpublic boolean getConfigBoolean(String name)
Please note that the javascript value of the parameter should also be a boolean, or else an undefined exception may be thrown.
name - name of the configuration parameterfalse if no value is definedpublic Integer getConfigInteger(String name)
name - name of the configuration parameternull
if no value is definedpublic ErrorMessage getConfigError(String name)
ErrorMessage object. Please
note that the javascript value of the parameter should also be an object
with appropriate fields, or else an undefined exception may be thrown
when calling this method or when calling methods on the returned object.name - name of the configuration parameternull if no
value is definedpublic String getVaadinVersion()
public String getAtmosphereVersion()
public String getAtmosphereJSVersion()
public ValueMap getUIDL()
Copyright © 2000–2021 Vaadin Ltd. All rights reserved.