Package org.jclouds.scriptbuilder.domain
Class SaveHttpResponseTo
- java.lang.Object
-
- org.jclouds.scriptbuilder.domain.InterpretableStatement
-
- org.jclouds.scriptbuilder.domain.SaveHttpResponseTo
-
- All Implemented Interfaces:
Statement
public class SaveHttpResponseTo extends InterpretableStatement
saves the content of the http response to a file
-
-
Field Detail
-
CURL
public static final String CURL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
-
-