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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -