public class ClientParameters
extends java.lang.Object
implements java.io.Externalizable
This can be used for values that are effectively constants (set or queried at the time the client starts and then unchangable for the remainer of the client's lifetime). It is suitable for values that correspond to:
SESSION:WINDOW-SYSTEM).
-param).
| Modifier and Type | Field and Description |
|---|---|
int |
batchMode
The batch mode.
|
java.lang.Integer |
browserTimezone
The offset in minutes from UTC for the browser timezone.
|
java.lang.String |
browserWebSocket
The browser WebSocket address.
|
boolean |
chui
true if this client is ChUI, false for GUI. |
java.lang.Integer |
clientTimezone
The offset in minutes from UTC for the client timezone.
|
java.lang.String |
driverName
Driver class name.
|
boolean |
embedded
true if this client is web embedded, false otherwise. |
java.lang.Long |
ipCaptureTimestamp
The UTC timestamp of the capture time for
browserWebSocket. |
boolean |
isHeadless
true if this client is headless, false otherwise. |
java.lang.String |
osDeviceId
The device ID from the OS in the client process
|
java.lang.String |
osUserName
User name as reported by the operating system.
|
long |
pid
Process ID (PID) of the client process as reported by the operating system.
|
java.lang.String |
propath
The propath parameter.
|
java.lang.Integer |
screenColorDepth
The client screen color depth.
|
java.lang.Integer |
screenHeight
The client screen height.
|
java.lang.Float |
screenScalingFactor
The client screen scaling factor.
|
java.lang.Integer |
screenWidth
The client screen width.
|
java.lang.String |
serverBaseUrl
The server base URL as given to spawn the web client.
|
java.lang.String |
socketTrustStoreFilename
Filename of client-side SSL certificate store.
|
java.lang.String |
socketTrustStorePassword
The password for access to client-side SSL certificate store.
|
java.lang.String |
storageId
The storage ID for the end-user (available with SSO)
|
java.lang.String |
terminalName
Terminal name as specified on the client command line.
|
java.lang.String |
userAgent
The user agent info of the browser where the js client runs.
|
boolean |
web
true if this client is web (embedded, gui, chui), false otherwise. |
int |
webPort
The client web server port.
|
java.lang.String |
webRoot
The client web root path depending on how the client is spawned, it could be behind a proxy, direct, etc.
|
static java.lang.String |
WINDOW_SYSTEM_MS_WIN95
Constant identifying the "MS-WIN95" window-system.
|
static java.lang.String |
WINDOW_SYSTEM_MS_WINDOWS
Constant for the "MS-WINDOWS" window-system (GUI driver default).
|
static java.lang.String |
WINDOW_SYSTEM_MS_WINXP
Constant identifying the "MS-WINXP" window-system.
|
static java.lang.String |
WINDOW_SYSTEM_TTY
Constant for the "TTY" window-system (CHUI driver default).
|
java.lang.String |
windowSystem
Identify the SESSION:WINDOW-SYSTEM attribute used by this client.
|
| Constructor and Description |
|---|
ClientParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public static final java.lang.String WINDOW_SYSTEM_TTY
public static final java.lang.String WINDOW_SYSTEM_MS_WINDOWS
public static final java.lang.String WINDOW_SYSTEM_MS_WIN95
public static final java.lang.String WINDOW_SYSTEM_MS_WINXP
public java.lang.String windowSystem
public java.lang.String osUserName
public java.lang.String terminalName
public long pid
public int webPort
public java.lang.String driverName
public java.lang.String osDeviceId
public java.lang.String storageId
public boolean chui
true if this client is ChUI, false for GUI.public boolean web
true if this client is web (embedded, gui, chui), false otherwise.public boolean embedded
true if this client is web embedded, false otherwise.public boolean isHeadless
true if this client is headless, false otherwise.public int batchMode
public java.lang.String socketTrustStoreFilename
trusted-cert.store from current
directory.public java.lang.String socketTrustStorePassword
public java.lang.String propath
public java.lang.Integer clientTimezone
public java.lang.String browserWebSocket
public java.lang.Integer browserTimezone
public java.lang.Long ipCaptureTimestamp
browserWebSocket.
Available with web sessions only.public java.lang.Integer screenColorDepth
public java.lang.Integer screenHeight
public java.lang.Float screenScalingFactor
public java.lang.Integer screenWidth
public java.lang.String userAgent
public java.lang.String serverBaseUrl
public java.lang.String webRoot
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The output destination to which parameters will be saved.java.io.IOException - In case of I/O errors.public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The input source from which parameters will be restored.java.io.IOException - In case of I/O errors.java.lang.ClassNotFoundException - If a parameter can't be instantiated.