web services - how to read http get response (restful-ws) as java.io.file -


file file = new file("c:\\testing.txt") 

can achieve means somthing like:

file file = new file("https://stackoverflow.com/ws-server/lookup/1.0/1234") 

the below webservice returns me same file content txt in string form. https://stackoverflow.com/ws-server/lookup/1.0/1234

can please let me know if doable.

you can write response file.

look @ this answer details.

after can open file used to.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -