public class ConnectionString extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
host |
protected Map<String,String> |
params |
protected String |
path |
protected int |
port |
protected String |
protocol |
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionString() |
|
ConnectionString(String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
static String |
expand(String url) |
static String |
getAddressFromProperty(String interfaceName) |
boolean |
getBooleanParam(String key,
boolean defaultValue) |
String |
getHost() |
static String |
getInterfaceAddress(String interfaceName) |
int |
getIntParam(String key,
int defaultValue) |
long |
getLongParam(String key,
long defaultValue) |
Map<String,String> |
getParams() |
String |
getPath() |
int |
getPort() |
String |
getProtocol() |
static String |
getRoutingAddress(String targetIP) |
String |
getStringParam(String key) |
String |
getStringParam(String key,
String defaultValue) |
String |
toString() |
protected String protocol
protected String host
protected String path
protected int port
protected ConnectionString()
public ConnectionString(String connectionString)
public String getProtocol()
public String getHost()
public int getPort()
public String getPath()
public int getIntParam(String key, int defaultValue)
public long getLongParam(String key, long defaultValue)
public boolean getBooleanParam(String key, boolean defaultValue)
Copyright © 2018. All rights reserved.