use of org.jvnet.ws.wadl.util.UriBuilder in project intellij-community by JetBrains.
the class Endpoint method getArtifactInfoByUri.
public static DataSource getArtifactInfoByUri(String uri) throws IOException, MalformedURLException {
DSDispatcher _dsDispatcher = new DSDispatcher();
UriBuilder _uriBuilder = new UriBuilder();
_uriBuilder.addPathSegment(uri);
String _url = _uriBuilder.buildUri(Collections.<String, Object>emptyMap(), Collections.<String, Object>emptyMap());
DataSource _retVal = _dsDispatcher.doGET(_url, Collections.<String, Object>emptyMap(), "application/vnd.org.jfrog.artifactory.search.ArtifactSearchResult+json");
return _retVal;
}
Aggregations