setRequestProperty does not what you think it does. It does not set properties that will be part of the request query. Instead, modify the URL:
Note that I just added the request key and value directly. In practice, you should use URLEncoder.encode("DocId", "UTF-8") and URLEncoder.encode("NOINDEX.A1001001A09E14A73748F00664.A09E14A73748F00664.1000", "UTF-8"). Or a different encoding if you like.