I am using HttpGet to come back personal files, and HttpGet does not permit the argument to become a URL, it needs to be considered a URL, nevertheless the problem I face is the fact that I've- to make use of httpclient, and I have to have the ability to put special figures within the URI/URL e.g. square brackets so:

http://127.0.0.1:8080/exists/rest/db/catalog?_query=//album[contains(title,"")]

So what can I actually do?

URLEncode the area of the url that contains the special chars before passing to HttpGet with URLEncoder.encode(yourQueryString,"UTF-8");