MCPcopy Create free account
hub / github.com/apache/tomcat / renameWildcardHost

Method renameWildcardHost

java/org/apache/catalina/mapper/Mapper.java:1512–1518  ·  view source on GitHub ↗
(String hostName)

Source from the content-addressed store, hash-verified

1510 * form.
1511 */
1512 private static String renameWildcardHost(String hostName) {
1513 if (hostName != null && hostName.startsWith("*.")) {
1514 return hostName.substring(1);
1515 } else {
1516 return hostName;
1517 }
1518 }
1519
1520
1521 // ------------------------------------------------- MapElement Inner Class

Callers 14

setDefaultHostNameMethod · 0.95
addHostMethod · 0.95
removeHostMethod · 0.95
addHostAliasMethod · 0.95
removeHostAliasMethod · 0.95
addContextVersionMethod · 0.95
removeContextVersionMethod · 0.95
pauseContextVersionMethod · 0.95
addWrapperMethod · 0.95
addWrappersMethod · 0.95
removeWrapperMethod · 0.95
addWelcomeFileMethod · 0.95

Calls 1

startsWithMethod · 0.45

Tested by

no test coverage detected