org.jclouds.http.functions
Class ReturnInputStream

java.lang.Object
  extended by org.jclouds.http.functions.ReturnInputStream
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,InputStream>

@Singleton
public class ReturnInputStream
extends Object
implements com.google.common.base.Function<HttpResponse,InputStream>

Simply returns the InputStream of the response


Constructor Summary
ReturnInputStream()
           
 
Method Summary
 InputStream apply(HttpResponse from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ReturnInputStream

public ReturnInputStream()
Method Detail

apply

public InputStream apply(HttpResponse from)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,InputStream>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.