code: public void deassociateHttpContexts(final Bundle bundle) {
          List<String> virtualHosts = resolveVirtualHosts(bundle);
          virtualHosts.stream()
              .map(virtualHost -> httpContexts.get(virtualHost))
              .map(entry -> entry.entrySet())
              .flatMap(setEntry -> setEntry.stream())
              .filter(entry -> entry.getValue() == bundle)
              .forEach(entry -> httpContexts.remove(entry.getKey()));
  	}
docs: Deassociate all http context assiciated to the provided bundle. The
  bellow code is only correct in the context that there is no other thread
  is calling the association method in the mean time. This should not
  happen as once a bundle is releasing the HttpService the service is first
  entering a stopped state ( before the call to this method is made), state
  that will not perform the registration calls anymore.
  
  @param bundle bundle to be deassociated from http contexts