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
- Author:
- Adrian Cole
CURL
public static final String CURL
- See Also:
- Constant Field Values
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
Copyright © 2009-2012 jclouds. All Rights Reserved.