code: public void addRequestHandler(int port, String host, String path, 
  			RequestHandler requestHandler) {
  		Integer portInt = Integer.valueOf(port);
  		PortMapper portMapper = portMap.get(portInt);
  		if (portMapper == null) {
  			portMapper = new PortMapper(portInt);
  			portMap.put(portInt, portMapper);
  		}
  		portMapper.addRequestHandler(host, path, requestHandler);
  		LOGGER.info("Registered " + port + "/" +
  				(host == null ? "*" : host) + "/" +
  				(path == null ? "*" : path) + " --> " +
  				requestHandler);
  	}
docs: Register the RequestHandler to accept requests on the given port, for the
  specified host and path.
  @param port the integer port on which the RequestHandler gets requests.
  @param host the String Host which the RequestHandler matches, or null, if
  the RequestHandler should match ALL hosts.
  @param path the String path which the RequestHandler matches, or null, if
  the RequestHandler should match ALL paths.
  @param requestHandler the RequestHandler to register.