code: public static synchronized void notifyStopped(HttpEndpointImpl endpoint, String resolvedHostName, int port, boolean isHttps) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(tc, "Notify endpoint stopped: " + endpoint, resolvedHostName, port, isHttps, defaultHost.get(), alternateHostSelector);
          }
          if (alternateHostSelector.get() == null) {
              if (defaultHost.get() != null) {
                  defaultHost.get().listenerStopped(endpoint, resolvedHostName, port, isHttps);
              }
  
          } else {
              alternateHostSelector.get().alternateNotifyStopped(endpoint, resolvedHostName, port, isHttps);
          }
      }
docs: Remove a port associated with an endpoint that has stopped listening,
  and notify associated virtual hosts.
  
  @param endpoint The HttpEndpointImpl that owns the stopped chain/listener
  @param resolvedHostName A hostname that can be used in messages (based on endpoint configuration, something other than *)
  @param port The port the endpoint has stopped listening on
  @param isHttps True if this is an SSL port
  @see HttpChain#chainQuiesced(com.ibm.websphere.channelfw.ChainData)
  @see HttpChain#chainStopped(com.ibm.websphere.channelfw.ChainData)