public class SaveHttpResponseTo extends InterpretableStatement
public static final String CURL
public SaveHttpResponseTo(String dir, String file, String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers)
dir
- location to save filemethod
- http method: ex GETendpoint
- uri corresponding to the requestheaders
- request headers to sendCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.