/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
/** * Remove a wrapper from the context associated with this wrapper. * * @param path Wrapper mapping */ public void removeWrapper(String path) { removeWrapper(context, path); }
public synchronized void unregister(WebSocketApplication app) { String fullPath = applicationMap.remove(app); if (fullPath != null) { fullPathToApplication.remove(fullPath); String[] parts = fullPath.split("\\|"); mapper.removeWrapper("localhost", parts[0], parts[1]); List<WebSocketApplication> apps = contextApplications.get(parts[0]); apps.remove(app); if (apps.isEmpty()) { mapper.removeContext("localhost", parts[0]); contextApplications.remove(parts[0]); } return; } applications.remove(app); }
public synchronized void unregister(WebSocketApplication app) { String fullPath = applicationMap.remove(app); if (fullPath != null) { fullPathToApplication.remove(fullPath); String[] parts = fullPath.split("\\|"); mapper.removeWrapper("localhost", parts[0], parts[1]); List<WebSocketApplication> apps = contextApplications.get(parts[0]); apps.remove(app); if (apps.isEmpty()) { mapper.removeContext("localhost", parts[0]); contextApplications.remove(parts[0]); } return; } applications.remove(app); }
public synchronized void unregister(WebSocketApplication app) { String fullPath = applicationMap.remove(app); if (fullPath != null) { fullPathToApplication.remove(fullPath); String[] parts = fullPath.split("\\|"); mapper.removeWrapper("localhost", parts[0], parts[1]); List<WebSocketApplication> apps = contextApplications.get(parts[0]); apps.remove(app); if (apps.isEmpty()) { mapper.removeContext("localhost", parts[0]); contextApplications.remove(parts[0]); } return; } applications.remove(app); }
public synchronized void unregister(WebSocketApplication app) { String fullPath = applicationMap.remove(app); if (fullPath != null) { fullPathToApplication.remove(fullPath); String[] parts = fullPath.split("\\|"); mapper.removeWrapper("localhost", parts[0], parts[1]); List<WebSocketApplication> apps = contextApplications.get(parts[0]); apps.remove(app); if (apps.isEmpty()) { mapper.removeContext("localhost", parts[0]); contextApplications.remove(parts[0]); } return; } applications.remove(app); }
public synchronized void unregister(WebSocketApplication app) { String fullPath = applicationMap.remove(app); if (fullPath != null) { fullPathToApplication.remove(fullPath); String[] parts = fullPath.split("\\|"); mapper.removeWrapper("localhost", parts[0], parts[1]); List<WebSocketApplication> apps = contextApplications.get(parts[0]); apps.remove(app); if (apps.isEmpty()) { mapper.removeContext("localhost", parts[0]); contextApplications.remove(parts[0]); } return; } applications.remove(app); }
public synchronized void unregister(WebSocketApplication app) { String fullPath = applicationMap.remove(app); if (fullPath != null) { fullPathToApplication.remove(fullPath); String[] parts = fullPath.split("\\|"); mapper.removeWrapper("localhost", parts[0], parts[1]); List<WebSocketApplication> apps = contextApplications.get(parts[0]); apps.remove(app); if (apps.isEmpty()) { mapper.removeContext("localhost", parts[0]); contextApplications.remove(parts[0]); } return; } applications.remove(app); }
/** * 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 path Wrapper mapping */ public void removeWrapper (String hostName, String contextPath, String path) { Host[] newHosts = hosts; int pos = findIgnoreCase(newHosts, hostName); if (pos < 0) { return; } Host host = newHosts[pos]; if (host.name.equalsIgnoreCase(hostName)) { Context[] contexts = host.contextList.contexts; int pos2 = find(contexts, contextPath); if (pos2 < 0) { return; } Context ctx = contexts[pos2]; if (ctx.name.equals(contextPath)) { removeWrapper(ctx, path); } } }
/** * 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 path Wrapper mapping */ public void removeWrapper (String hostName, String contextPath, String path) { Host[] newHosts = hosts; int pos = findIgnoreCase(newHosts, hostName); if (pos < 0) { return; } Host host = newHosts[pos]; if (host.name.equalsIgnoreCase(hostName)) { Context[] contexts = host.contextList.contexts; int pos2 = find(contexts, contextPath); if (pos2 < 0) { return; } Context ctx = contexts[pos2]; if (ctx.name.equals(contextPath)) { removeWrapper(ctx, path); } } }
/** * 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); } }