code: public void removeListener(HttpListener listener)
      {
          if (listener==null)
              return;
          
          for (int l=0;l<_listeners.size();l++)
          {
              if (listener.equals(_listeners.get(l)))
              {
                  _listeners.remove(l);
                  removeComponent(listener);
                  if (listener.isStarted())
                      try{listener.stop();}catch(InterruptedException e){log.warn(LogSupport.EXCEPTION,e);}
                  listener.setHttpServer(null);
              }
          }
      }
docs: Remove a HTTP Listener.
  @param listener