This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.