code: public boolean removeMapping(String hostName, String contextPath) {
          log.info("Remove mapping host: {} context: {}", hostName, contextPath);
          final String key = getKey(hostName, contextPath);
          log.debug("Remove mapping: {}", key);
          return (mapping.remove(key) != null);
      }
docs: Remove mapping with given key
  
  @param hostName
  Host name
  @param contextPath
  Context path
  @return true if mapping was removed, false if key doesn't exist