public class BaseURL extends Object implements Serializable
| Constructor and Description |
|---|
BaseURL() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHost()
Get the host.
|
int |
getPort()
Get the port number.
|
String |
getProtocol()
Get the protocol.
|
int |
hashCode() |
BaseURL |
setHost(String newHost)
Set the host.
|
BaseURL |
setPort(int newPort)
Set the port number.
|
BaseURL |
setProtocol(String newProtocol)
Set the protocol.
|
String |
toString() |
public String getProtocol()
public BaseURL setProtocol(String newProtocol)
newProtocol - The protocol.BaseURL itself.public String getHost()
public BaseURL setHost(String newHost)
newHost - The host.BaseURL itself.public int getPort()
public BaseURL setPort(int newPort)
newPort - The port number.BaseURL itself.Copyright © 2017 SDL Group. All rights reserved.