Class PipeHttpResponseTo

java.lang.Object
org.jclouds.scriptbuilder.domain.InterpretableStatement
org.jclouds.scriptbuilder.domain.PipeHttpResponseTo
All Implemented Interfaces:
Statement
Direct Known Subclasses:
PipeHttpResponseToBash, PipeHttpResponseToTarxpzfIntoDirectory

public class PipeHttpResponseTo extends InterpretableStatement
Pipes the content of the http response to a shell command that accepts input from stdin
  • Constructor Details

    • PipeHttpResponseTo

      public PipeHttpResponseTo(Statement toExec, String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers)
      Parameters:
      toExec - what to invoke
      method - http method: ex GET
      endpoint - uri corresponding to the request
      headers - request headers to send
  • Method Details