Class GatewayAddress
java.lang.Object
com.inductiveautomation.ignition.client.launch.GatewayAddress
- All Implemented Interfaces:
Serializable
Represents an Http URL, with the various segments split up. For example, the URL
http://www.example.com:88/project has:
- address = www.example.com
- port = 88
- path = project
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getPath()
int
getPort()
int
hashCode()
static GatewayAddress
Parses a string like "localhost:80/test" into a GatewayAddressReturns the address in a format that parse() would accept, namely "host:http:https/path"toString()
-
Field Details
-
protocol
-
address
-
port
protected int port -
path
-
-
Constructor Details
-
GatewayAddress
-
-
Method Details
-
toParseableString
Returns the address in a format that parse() would accept, namely "host:http:https/path" -
parse
Parses a string like "localhost:80/test" into a GatewayAddress- Throws:
IllegalArgumentException
-
getAddress
-
getProtocol
-
getPath
-
toString
-
getPort
public int getPort() -
hashCode
public int hashCode() -
equals
-