Package org.jclouds.glesys.functions
Class ParseTemplatesFromHttpResponse
- java.lang.Object
-
- org.jclouds.glesys.functions.ParseTemplatesFromHttpResponse
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,com.google.common.collect.FluentIterable<OSTemplate>>
,Function<HttpResponse,com.google.common.collect.FluentIterable<OSTemplate>>
@Singleton public class ParseTemplatesFromHttpResponse extends Object implements com.google.common.base.Function<HttpResponse,com.google.common.collect.FluentIterable<OSTemplate>>
-
-
Constructor Summary
Constructors Constructor Description ParseTemplatesFromHttpResponse(GsonWrapper gsonView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.FluentIterable<OSTemplate>
apply(HttpResponse response)
-
-
-
Constructor Detail
-
ParseTemplatesFromHttpResponse
@Inject public ParseTemplatesFromHttpResponse(GsonWrapper gsonView)
-
-
Method Detail
-
apply
public com.google.common.collect.FluentIterable<OSTemplate> apply(HttpResponse response)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,com.google.common.collect.FluentIterable<OSTemplate>>
- Specified by:
apply
in interfaceFunction<HttpResponse,com.google.common.collect.FluentIterable<OSTemplate>>
-
-