Class NodeAddress
- java.lang.Object
-
- fish.payara.arquillian.container.payara.clientutils.NodeAddress
-
public class NodeAddress extends Object
- Author:
- Z.Paulovics
-
-
Field Summary
Fields Modifier and Type Field Description static StringHTTP_PROTOCOL_PREFIXHTTP protocol URI prefixstatic StringHTTPS_PROTOCOL_PREFIXHTTPS protocol URI prefix
-
Constructor Summary
Constructors Constructor Description NodeAddress()NodeAddress(String host)NodeAddress(String serverName, String host, int port, int secure_port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()intgetHttpPort()static StringgetHttpProtocolPrefix(boolean secure)intgetHttpsPort()StringgetServerName()URIgetURI()URIgetURI(boolean secure)voidsetHost(String host)voidsetHttpPort(int httpPort)voidsetHttpsPort(int httpsPort)voidsetServerName(String serverName)
-
-
-
Field Detail
-
HTTP_PROTOCOL_PREFIX
public static final String HTTP_PROTOCOL_PREFIX
HTTP protocol URI prefix- See Also:
- Constant Field Values
-
HTTPS_PROTOCOL_PREFIX
public static final String HTTPS_PROTOCOL_PREFIX
HTTPS protocol URI prefix- See Also:
- Constant Field Values
-
-
Method Detail
-
getServerName
public String getServerName()
- Returns:
- the serverName
-
setServerName
public void setServerName(String serverName)
- Parameters:
serverName- name of the server
-
getHost
public String getHost()
- Returns:
- the ip
-
setHost
public void setHost(String host)
- Parameters:
host- the host
-
getHttpPort
public int getHttpPort()
- Returns:
- the port
-
setHttpPort
public void setHttpPort(int httpPort)
- Parameters:
httpPort- the http port
-
getHttpsPort
public int getHttpsPort()
- Returns:
- the secure port
-
setHttpsPort
public void setHttpsPort(int httpsPort)
- Parameters:
httpsPort- the port used for https
-
getURI
public URI getURI()
-
getURI
public URI getURI(boolean secure)
-
getHttpProtocolPrefix
public static String getHttpProtocolPrefix(boolean secure)
-
-