ClientADDPOptions
, ClientConnectionOptions
, ConnectionConfiguration
, java.io.Serializable
, java.lang.Cloneable
public class PropertyConfiguration extends AbstractConnectionConfiguration implements java.io.Serializable
java.util.Properties
.
It can be instantiated with any java.util.Properties instance.ClientADDPOptions.AddpTraceMode
IP_VERSION_4_6, IP_VERSION_6_4
Constructor | Description |
---|---|
PropertyConfiguration() |
Creates empty PropertyConfiguration object.
|
PropertyConfiguration(java.lang.String uriQueryString) |
Creates object and set all configuration using given URI query string.
|
PropertyConfiguration(java.util.Properties props) |
Creates object and set all configuration using given Hashtable object.
|
Modifier and Type | Method | Description |
---|---|---|
PropertyConfiguration |
clone() |
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getOption(java.lang.String name,
java.lang.String defaultValue) |
Gets string parameter from the configuration.
|
int |
hashCode() |
|
boolean |
isEmpty() |
Tests if this properties set does not contain specific values.
|
void |
setOption(java.lang.String name,
java.lang.String value) |
Sets string parameter into config.
|
java.lang.String |
toString() |
getAddpClientTimeout, getAddpServerTimeout, getAddpTrace, getAddpTraceMode, getBacklog, getBoolean, getBoolean, getInteger, getInteger, getIPVersion, getLocalBindingHost, getLocalBindingPort, getOption, getStringsEncoding, getTLSVersion, isIPv6Enabled, isTLSEnabled, isUseAddp, setAddpClientTimeout, setAddpServerTimeout, setAddpTrace, setAddpTraceMode, setBacklog, setBoolean, setInteger, setIPv6Enabled, setIPVersion, setLocalBindingHost, setLocalBindingPort, setStringsEncoding, setTLSEnabled, setTLSVersion, setUseAddp
public PropertyConfiguration()
public PropertyConfiguration(java.util.Properties props)
props
- collection with configuration propertiespublic PropertyConfiguration(java.lang.String uriQueryString)
uriQueryString
- decoded URI query, a string consisting of key/value pairs in the following form:
"key1=value1&key2=value2&key3=value3".URI.getQuery()
public void setOption(java.lang.String name, java.lang.String value)
setOption
in interface ConnectionConfiguration
name
- name (key) of the parametervalue
- string value to setpublic java.lang.String getOption(java.lang.String name, java.lang.String defaultValue)
getOption
in interface ConnectionConfiguration
name
- name (key) of the parameterdefaultValue
- value to return if parameter is not foundpublic boolean isEmpty()
true
if this hashtable maps no keys to values;
false
otherwise.public PropertyConfiguration clone()
clone
in interface ConnectionConfiguration
clone
in class AbstractConnectionConfiguration
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.