Below is my existing Java base code and as you can see I am simply downloading files using output stream.
I am only using the request parameter to get browser detail