Package org.jclouds.scriptbuilder.domain
Class SaveHttpResponseTo
java.lang.Object
org.jclouds.scriptbuilder.domain.InterpretableStatement
org.jclouds.scriptbuilder.domain.SaveHttpResponseTo
- All Implemented Interfaces:
 Statement
saves the content of the http response to a file
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.jclouds.scriptbuilder.domain.InterpretableStatement
equals, functionDependencies, hashCode, render, toString 
- 
Field Details
- 
CURL
- See Also:
 
 
 - 
 - 
Constructor Details
- 
SaveHttpResponseTo
public SaveHttpResponseTo(String dir, String file, String method, URI endpoint, com.google.common.collect.Multimap<String, String> headers) - Parameters:
 dir- location to save filemethod- http method: ex GETendpoint- uri corresponding to the requestheaders- request headers to send
 
 -