无效的Uri(IllegalArgumentException)

时间:2019-06-05 18:15:32

标签: apache httpclient illegalargumentexception getmethod

当我尝试使用下面的url调用Http get请求时,我得到了无效的Uri。它具有一个回调参数。

实例化get方法时抛出异常
   GetMethod get =新的GetMethod(uri);  https://physiciandirectory.brighamandwomens.org/webfeed/transparency/v2/aggregate?providerId=757&ratingRounding=2&ratingCount=20&commentCount=5&delayBeforeDisplaying=42&showDelayedComments=0&starCount=0&commentPageSize=10&type=application/javascript&callback=ProviderConnections.Tools.Ajax.callbacks[2]':查询无效     在org.apache.commons.httpclient.HttpMethodBase。(HttpMethodBase.java:222)     在org.apache.commons.httpclient.methods.GetMethod。(GetMethod.java:89)

我在这里做什么错了?

0 个答案:

没有答案
相关问题