Add a wrapper to the given context. @param hostName The host name @param contextPath The context path @param version The version @param path The wrapper path @param wrapper The wrapper @param jspWildCard Whether it's a JSP wildcard @param resourceOnly Whether it's resource only
(String hostName, String contextPath, String version, String path, Wrapper wrapper,
boolean jspWildCard, boolean resourceOnly)
| 423 | * @param resourceOnly Whether it's resource only |
| 424 | */ |
| 425 | public void addWrapper(String hostName, String contextPath, String version, String path, Wrapper wrapper, |
| 426 | boolean jspWildCard, boolean resourceOnly) { |
| 427 | hostName = renameWildcardHost(hostName); |
| 428 | ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, false); |
| 429 | if (contextVersion == null) { |
| 430 | return; |
| 431 | } |
| 432 | addWrapper(contextVersion, path, wrapper, jspWildCard, resourceOnly); |
| 433 | } |
| 434 | |
| 435 | /** |
| 436 | * Add wrappers to the given context. |
no test coverage detected