Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/solr
/ hasScheme
Method
hasScheme
solr/solrj/src/java/org/apache/solr/common/util/URLUtil.java:44–47 ·
view source on GitHub ↗
(String url)
Source
from the content-addressed store, hash-verified
42
}
43
44
public
static
boolean hasScheme(String url) {
45
Matcher matcher = URL_PREFIX.matcher(url);
46
return
matcher.matches();
47
}
48
49
public
static
String getScheme(String url) {
50
Matcher matcher = URL_PREFIX.matcher(url);
Callers
4
normalizeHostName
Method · 0.95
runImpl
Method · 0.95
buildUrl
Method · 0.95
test
Method · 0.95
Calls
1
matches
Method · 0.65
Tested by
1
test
Method · 0.76