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

Method addWrappers

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

Add wrappers to the given context. @param hostName The host name @param contextPath The context path @param version The version @param wrappers The wrappers to add

(String hostName, String contextPath, String version,
            Collection<WrapperMappingInfo> wrappers)

Source from the content-addressed store, hash-verified

441 * @param wrappers The wrappers to add
442 */
443 public void addWrappers(String hostName, String contextPath, String version,
444 Collection<WrapperMappingInfo> wrappers) {
445 hostName = renameWildcardHost(hostName);
446 ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, false);
447 if (contextVersion == null) {
448 return;
449 }
450 addWrappers(contextVersion, wrappers);
451 }
452
453 /**
454 * Adds wrappers to the given context.

Callers 4

testCompareIgnoreCaseMethod · 0.95
addContextVersionMethod · 0.95
setUpMethod · 0.80
registerWrapperMethod · 0.80

Calls 3

renameWildcardHostMethod · 0.95
findContextVersionMethod · 0.95
addWrapperMethod · 0.95

Tested by 2

testCompareIgnoreCaseMethod · 0.76
setUpMethod · 0.64