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

Method removeWrapper

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

Remove a wrapper from an existing context. @param hostName Virtual host name this wrapper belongs to @param contextPath Context path this wrapper belongs to @param version Context version this wrapper belongs to @param path Wrapper mapping

(String hostName, String contextPath, String version, String path)

Source from the content-addressed store, hash-verified

532 * @param path Wrapper mapping
533 */
534 public void removeWrapper(String hostName, String contextPath, String version, String path) {
535 hostName = renameWildcardHost(hostName);
536 ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, true);
537 if (contextVersion == null || contextVersion.isPaused()) {
538 return;
539 }
540 removeWrapper(contextVersion, path);
541 }
542
543 private void removeWrapper(ContextVersion context, String path) {
544

Callers 2

containerEventMethod · 0.45
unregisterWrapperMethod · 0.45

Calls 13

renameWildcardHostMethod · 0.95
findContextVersionMethod · 0.95
isPausedMethod · 0.95
removeMapMethod · 0.95
slashCountMethod · 0.95
endsWithMethod · 0.80
lengthMethod · 0.80
isTraceEnabledMethod · 0.65
traceMethod · 0.65
getStringMethod · 0.65
equalsMethod · 0.65
startsWithMethod · 0.45

Tested by

no test coverage detected