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 InputStream
apply(HttpResponse from)
-
-
-
Method Detail
-
apply
public InputStream apply(HttpResponse from)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,InputStream>
- Specified by:
apply
in interfaceFunction<HttpResponse,InputStream>
-
-