Writing body of response to a file

Top  Previous  Next

Using the Http#getResponseToFile method you can write the body of an HttpResponse to a file.

 

Example

 

// write response body to a file

http.getResponseToFile(request, new File("index.html"));





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC