public interface DesktopConfig
Desktop
.Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String key,
boolean defval)
Returns the boolean value of a parameter or
defval if not found. |
int |
getInteger(String key,
int defval)
Returns the integer value of a parameter or
defval if not found. |
long |
getLong(String key,
long defval)
Returns the long value of a parameter or
defval if not found. |
Object |
getObject(String key)
Returns the object value of a parameter or
null if not found. |
SSLContext |
getSSLContext()
Returns a new SSLContext with optional "Trust All Certs" option.
|
String |
getString(String key)
Returns the string value of a parameter or
null if not found. |
String |
getString(String key,
String defval)
Returns the string value of a parameter or
defval if not found. |
boolean |
isIIS()
Returns
true if backend server is Microsoft IIS. |
boolean |
isUnsecureEnabled()
Returns
true if unsecure SSL communication is enabled. |
boolean isIIS()
true
if backend server is Microsoft IIS.true
if backend server is Microsoft IIS.boolean isUnsecureEnabled()
true
if unsecure SSL communication is enabled.true
if unsecure SSL communication is enabled.SSLContext getSSLContext()
Object getObject(String key)
null
if not found.key
- the name of the parameter.null
if not found.NullPointerException
- if key
is null
.IllegalArgumentException
- if key
is empty.String getString(String key)
null
if not found.key
- the name of the parameter.null
if not found.NullPointerException
- if key
is null
.IllegalArgumentException
- if key
is empty.String getString(String key, String defval)
defval
if not found.key
- the name of the parameter.defval
- a default value for the parameter.defval
if not found.NullPointerException
- if key
is null
.IllegalArgumentException
- if key
is empty.int getInteger(String key, int defval)
defval
if not found.key
- the name of the parameter.defval
- a default value for the parameter.defval
if not found.NullPointerException
- if key
is null
.IllegalArgumentException
- if key
is empty.long getLong(String key, long defval)
defval
if not found.key
- the name of the parameter.defval
- a default value for the parameter.defval
if not found.NullPointerException
- if key
is null
.IllegalArgumentException
- if key
is empty.boolean getBoolean(String key, boolean defval)
defval
if not found.key
- the name of the parameter.defval
- a default value for the parameter.defval
if not found.NullPointerException
- if key
is null
.IllegalArgumentException
- if key
is empty.Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.