MCPcopy Index your code
hub / github.com/apache/tomcat / clearWelcomeFiles

Method clearWelcomeFiles

java/org/apache/catalina/mapper/Mapper.java:668–675  ·  view source on GitHub ↗

Clear the welcome files for the given context. @param hostName The host where the context to be cleared can be found @param contextPath The path of the context to be cleared @param version The version of the context to be cleared

(String hostName, String contextPath, String version)

Source from the content-addressed store, hash-verified

666 * @param version The version of the context to be cleared
667 */
668 public void clearWelcomeFiles(String hostName, String contextPath, String version) {
669 hostName = renameWildcardHost(hostName);
670 ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, false);
671 if (contextVersion == null) {
672 return;
673 }
674 contextVersion.welcomeResources = new String[0];
675 }
676
677
678 /**

Callers 1

containerEventMethod · 0.80

Calls 2

renameWildcardHostMethod · 0.95
findContextVersionMethod · 0.95

Tested by

no test coverage detected