public void addHandler(ServerConnector connector, HandlerCollection handler) {
      connectorToHandlerMap.put(connector, handler);
      addHandler(handler);
    }
Adds a handler collection to the {@link PortHandlerWrapper} for a specific server connector (port).

@param connector the {@link ServerConnector} representing the port to which the handler should be associated
@param handler the {@link HandlerCollection} that will handle requests on the specified port
common/src/java/org/apache/hive/http/HttpServer.java