Class ParseScalingPoliciesResponse
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.functions.ParseScalingPoliciesResponse
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,com.google.common.collect.FluentIterable<ScalingPolicy>>
,Function<HttpResponse,com.google.common.collect.FluentIterable<ScalingPolicy>>
public class ParseScalingPoliciesResponse extends Object implements com.google.common.base.Function<HttpResponse,com.google.common.collect.FluentIterable<ScalingPolicy>>
This parses the scaling policy response and decouples domain objects from the json object returned by the service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.FluentIterable<ScalingPolicy>
apply(HttpResponse from)
Parse a list of scaling policy responses
-
-
-
Method Detail
-
apply
public com.google.common.collect.FluentIterable<ScalingPolicy> apply(HttpResponse from)
Parse a list of scaling policy responses- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,com.google.common.collect.FluentIterable<ScalingPolicy>>
- Specified by:
apply
in interfaceFunction<HttpResponse,com.google.common.collect.FluentIterable<ScalingPolicy>>
-
-