public class NodeAddress extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_PROTOCOL_PREFIX
HTTP protocol URI prefix
|
static String |
HTTPS_PROTOCOL_PREFIX
HTTPS protocol URI prefix
|
| Constructor and Description |
|---|
NodeAddress() |
NodeAddress(String host) |
NodeAddress(String serverName,
String host,
int port,
int secure_port) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getHttpPort() |
static String |
getHttpProtocolPrefix(boolean secure) |
int |
getHttpsPort() |
String |
getServerName() |
URI |
getURI() |
URI |
getURI(boolean secure) |
void |
setHost(String host) |
void |
setHttpPort(int httpPort) |
void |
setHttpsPort(int secure_port) |
void |
setServerName(String serverName) |
public static final String HTTP_PROTOCOL_PREFIX
public static final String HTTPS_PROTOCOL_PREFIX
public NodeAddress()
public NodeAddress(String host)
public String getServerName()
public void setServerName(String serverName)
public String getHost()
public void setHost(String host)
public int getHttpPort()
public void setHttpPort(int httpPort)
public int getHttpsPort()
public void setHttpsPort(int secure_port)
public URI getURI()
public URI getURI(boolean secure)
public static String getHttpProtocolPrefix(boolean secure)
Copyright © 2020 JBoss by Red Hat. All rights reserved.