code: def make_handlers(base_url, server_processes):
      
      handlers = []
      for sp in server_processes:
          handler = _make_serverproxy_handler(
              sp.name,
              sp.command,
              sp.environment,
              sp.timeout,
              sp.absolute_url,
              sp.port,
          )
          handlers.append((
              ujoin(base_url, sp.name, r'(.*)'), handler, dict(state={}),
          ))
          handlers.append((
              ujoin(base_url, sp.name), AddSlashHandler
          ))
      return handlers
docs: Get tornado handlers for registered server_processes