org.apache.catalina.Wrapper.removeMapping()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(7.3k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中org.apache.catalina.Wrapper.removeMapping()方法的一些代码示例,展示了Wrapper.removeMapping()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wrapper.removeMapping()方法的具体详情如下:
包路径:org.apache.catalina.Wrapper
类名称:Wrapper
方法名:removeMapping

Wrapper.removeMapping介绍

[英]Remove a mapping associated with the wrapper.
[中]删除与包装器关联的映射。

代码示例

代码示例来源:origin: org.glassfish.main.web/web-core

/**
 * This method is overridden in web-glue to also remove the given
 * mapping from the deployment backend's WebBundleDescriptor.
 */
protected void removePatternFromServlet(Wrapper wrapper, String pattern) {
  wrapper.removeMapping(pattern);
}

代码示例来源:origin: codefollower/Tomcat-Research

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: org.apache.tomcat/tomcat-catalina

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: jboss.web/jbossweb

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
public void removeServletMapping(String pattern) {
  String name = servletMappings.remove(pattern);
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: org.jboss.web/jbossweb

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
public void removeServletMapping(String pattern) {
  String name = servletMappings.remove(pattern);
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: tomcat/catalina

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappings) {
    name = (String) servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: org.glassfish.main.web/web-core

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappings) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  if (notifyContainerListeners) {
    fireContainerEvent("removeServletMapping", pattern);
  }
}

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Remove any servlet mapping for the specified pattern, if it exists;
 * otherwise, no action is taken.
 *
 * @param pattern URL pattern of the mapping to remove
 */
@Override
public void removeServletMapping(String pattern) {
  String name = null;
  synchronized (servletMappingsLock) {
    name = servletMappings.remove(pattern);
  }
  Wrapper wrapper = (Wrapper) findChild(name);
  if( wrapper != null ) {
    wrapper.removeMapping(pattern);
  }
  mapper.removeWrapper(pattern);
  fireContainerEvent("removeServletMapping", pattern);
}

代码示例来源:origin: org.apache.tomcat/tomcat-catalina

wrapper.removeMapping(adjustedPattern);

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

wrapper.removeMapping(decodedPattern);
mapper.removeWrapper(decodedPattern);

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

wrapper.removeMapping(decodedPattern);
mapper.removeWrapper(decodedPattern);

代码示例来源:origin: codefollower/Tomcat-Research

wrapper.removeMapping(decodedPattern);

代码示例来源:origin: tomcat/catalina

wrapper.removeMapping(pattern);
mapper.removeWrapper(pattern);

代码示例来源:origin: jboss.web/jbossweb

wrapper2.removeMapping(pattern);
mapper.removeWrapper(pattern);

代码示例来源:origin: org.jboss.web/jbossweb

wrapper2.removeMapping(pattern);
mapper.removeWrapper(pattern);

相关文章