Class URLAddress
java.lang.Object
org.apache.dubbo.common.url.component.URLAddress
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PathURLAddress
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionURLAddress(String host, int port) URLAddress(String host, int port, String rawAddress) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHost()getIp()getPath()intgetPort()longinthashCode()static URLAddresssetAddress(String host, int port) setPassword(String password) setPort(int port) setProtocol(String protocol) voidsetTimestamp(long timestamp) setUsername(String username) toString()
-
Constructor Details
-
URLAddress
-
URLAddress
-
-
Method Details
-
getProtocol
-
setProtocol
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getPath
-
setPath
-
getHost
-
setHost
-
getPort
public int getPort() -
setPort
-
getAddress
-
setAddress
-
getIp
-
getRawAddress
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
hashCode
public int hashCode() -
equals
-
toString
-
parse
-