我正在尝试使用spring的UriComponentsBuilder为oauth交互生成一些url。查询参数包括回调url和参数值等实体,其中包含空格。尝试使用UriComponentBuilder(因为UriUtils现在已弃用)UriComponentsBuilderurlBuilder=UriComponentsBuilder.fromHttpUrl(oauthURL);urlBuilder.queryParam("client_id",clientId);urlBuilder.queryParam("redirect_uri",redirectURI);urlBuilder.q