org.jclouds.glesys.functions
Class ParseTemplatesFromHttpResponse

java.lang.Object
  extended by org.jclouds.glesys.functions.ParseTemplatesFromHttpResponse
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,Set<OSTemplate>>

@Singleton
public class ParseTemplatesFromHttpResponse
extends Object
implements com.google.common.base.Function<HttpResponse,Set<OSTemplate>>

Author:
Adrian Cole

Constructor Summary
ParseTemplatesFromHttpResponse(GsonWrapper gsonWrapper)
           
 
Method Summary
 Set<OSTemplate> apply(HttpResponse response)
           
 
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

ParseTemplatesFromHttpResponse

@Inject
public ParseTemplatesFromHttpResponse(GsonWrapper gsonWrapper)
Method Detail

apply

public Set<OSTemplate> apply(HttpResponse response)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,Set<OSTemplate>>


Copyright © 2009-2012 jclouds. All Rights Reserved.