MCPcopy
hub / github.com/apache/dubbo / valueOf

Method valueOf

dubbo-common/src/main/java/org/apache/dubbo/common/URL.java:237–239  ·  view source on GitHub ↗

parse decoded url string, formatted dubbo://host:port/path?param=value, into strutted URL. @param url, decoded url string @return

(String url)

Source from the content-addressed store, hash-verified

235 * @return
236 */
237 public static URL valueOf(String url) {
238 return valueOf(url, false);
239 }
240
241 public static URL valueOf(String url, ScopeModel scopeModel) {
242 return valueOf(url).setScopeModel(scopeModel);

Callers 15

testMethod · 0.95
testEncodedMethod · 0.95
testDecodedMethod · 0.95
testPondMethod · 0.95
test_ignore_pondMethod · 0.95
testDefaultMethod · 0.95
assertURLStrDecoderMethod · 0.95
test_valueOf_noHostMethod · 0.95

Calls 15

parseEncodedStrMethod · 0.95
parseDecodedStrMethod · 0.95
getParametersMethod · 0.95
isNotEmptyMethod · 0.95
clearParametersMethod · 0.95
setScopeModelMethod · 0.65
getMethod · 0.65
putMethod · 0.65
getValueMethod · 0.65
isEmptyMethod · 0.65
getProtocolMethod · 0.65
getHostMethod · 0.65

Tested by 15

testMethod · 0.76
testEncodedMethod · 0.76
testDecodedMethod · 0.76
testPondMethod · 0.76
test_ignore_pondMethod · 0.76
testDefaultMethod · 0.76
assertURLStrDecoderMethod · 0.76
test_valueOf_noHostMethod · 0.76