code: @GET
    @Path(WEBUI_INIT)
    @ReturnType("alluxio.wire.MasterWebUIInit")
    public Response getWebUIInit() {
      return RestUtils.call(() -> {
        MasterWebUIInit response = new MasterWebUIInit();
  
        String proxyHostname = NetworkAddressUtils
            .getConnectHost(NetworkAddressUtils.ServiceType.PROXY_WEB, ServerConfiguration.global());
        int proxyPort = ServerConfiguration.getInt(PropertyKey.PROXY_WEB_PORT);
        Map<String, String> proxyDowloadFileApiUrl = new HashMap<>();
        proxyDowloadFileApiUrl
            .put("prefix", "http://" + proxyHostname + ":" + proxyPort + "/api/v1/paths/");
        proxyDowloadFileApiUrl.put("suffix", "/download-file/");
  
        response.setDebug(ServerConfiguration.getBoolean(PropertyKey.DEBUG))
            .setWebFileInfoEnabled(ServerConfiguration.getBoolean(PropertyKey.WEB_FILE_INFO_ENABLED))
            .setSecurityAuthorizationPermissionEnabled(
                ServerConfiguration.getBoolean(PropertyKey.SECURITY_AUTHORIZATION_PERMISSION_ENABLED))
            .setWorkerPort(ServerConfiguration.getInt(PropertyKey.WORKER_WEB_PORT))
            .setRefreshInterval(ServerConfiguration.getInt(PropertyKey.WEBUI_REFRESH_INTERVAL_MS))
            .setProxyDownloadFileApiUrl(proxyDowloadFileApiUrl);
  
        return response;
      }, ServerConfiguration.global());
    }
docs: Gets Web UI initialization data.
  
  @return the response object