Class HttpURL
java.lang.Object
com.inductiveautomation.ignition.common.gateway.HttpURL
- 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
Unlike a plain URL, holds two ports: one for HTTP and one for HTTPS
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintintgetPath()intgetPort()inthashCode()booleanisSsl()voidsetAddress(String address) voidsetHttpPort(int httpPort) voidsetHttpsPort(int httpsPort) voidvoidsetProtocol(String protocol) toString()toString(boolean ssl) Returns the "full" format for this address, which omits the scheme, and includes both ports.
- 
Field Details- 
protocol
- 
address
- 
httpPortprotected int httpPort
- 
httpsPortprotected int httpsPort
- 
path
 
- 
- 
Constructor Details- 
HttpURL
- 
HttpURL
- 
HttpURL
 
- 
- 
Method Details- 
getAddress
- 
setAddress
- 
getPath
- 
setPath
- 
toString
- 
toStringHTTP
- 
toStringHTTPS
- 
toStringFullReturns the "full" format for this address, which omits the scheme, and includes both ports. For example:"192.168.1.8:80:443/main"
- 
toString
- 
getPortpublic int getPort()
- 
getHttpPortpublic int getHttpPort()
- 
setHttpPortpublic void setHttpPort(int httpPort) 
- 
getHttpsPortpublic int getHttpsPort()
- 
setHttpsPortpublic void setHttpsPort(int httpsPort) 
- 
getProtocol- Returns:
- the protocol used, or "http" if not set.
 
- 
setProtocol
- 
isSslpublic boolean isSsl()
- 
hashCodepublic int hashCode()
- 
equals
 
-