Package org.jclouds.http.functions
Class ReturnInputStream
- java.lang.Object
-
- org.jclouds.http.functions.ReturnInputStream
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,InputStream>,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
Constructors Constructor Description ReturnInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamapply(HttpResponse from)
-
-
-
Method Detail
-
apply
public InputStream apply(HttpResponse from)
- Specified by:
applyin interfacecom.google.common.base.Function<HttpResponse,InputStream>- Specified by:
applyin interfaceFunction<HttpResponse,InputStream>
-
-