UrlInfo

Undocumented in source.

Constructors

this
this()

Instantiates a new Provider.

this
this(string host, int port)

Instantiates a new Provider.

this
this(string host, int port, string originUrl)

Instantiates a new Provider.

Members

Functions

getAttr
string getAttr(string key)

得到属性值,先去动态属性,再取静态属性

getDynamicAttr
Object getDynamicAttr(string dynamicAttrKey)

gets dynamic attribute.

getDynamicAttrs
Map!(string, Object) getDynamicAttrs()

Gets dynamic attribute.

getHost
string getHost()

Gets host.

getOriginUrl
string getOriginUrl()

Gets origin url.

getPath
string getPath()

Gets path.

getPort
int getPort()

Gets port.

getProtocolType
string getProtocolType()

Gets protocol type.

getRpcVersion
int getRpcVersion()

Gets sofa version.

getSerializationType
string getSerializationType()

Gets serialization type.

getStaticAttr
string getStaticAttr(string staticAttrKey)

gets static attribute.

getStaticAttrs
Map!(string, string) getStaticAttrs()

Gets static attribute.

getWeight
int getWeight()

Gets weight.

init
void init()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
setDynamicAttr
UrlInfo setDynamicAttr(string dynamicAttrKey, Object dynamicAttrValue)

Sets dynamic attribute.

setDynamicAttrs
UrlInfo setDynamicAttrs(Map!(string, Object) dynamicAttrs)

Sets dynamic attribute.

setHost
UrlInfo setHost(string host)

Sets host.

setOriginUrl
UrlInfo setOriginUrl(string originUrl)

Sets origin url.

setPath
UrlInfo setPath(string path)

Sets path.

setPort
UrlInfo setPort(int port)

Sets port.

setProtocolType
UrlInfo setProtocolType(string protocolType)

Sets protocol type.

setRpcVersion
UrlInfo setRpcVersion(int rpcVersion)

Sets sofa version.

setSerializationType
UrlInfo setSerializationType(string serializationType)

Sets serialization type.

setStaticAttr
UrlInfo setStaticAttr(string staticAttrKey, string staticAttrValue)

Sets static attribute.

setStaticAttrs
UrlInfo setStaticAttrs(Map!(string, string) staticAttrs)

Sets static attribute.

setWeight
UrlInfo setWeight(int weight)

Sets weight.

toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toUrl
string toUrl()

序列化到url.

Static functions

valueOf
UrlInfo valueOf(string url)

从URL里解析Provider

Meta