org.jclouds.cloudstack.functions
Class ParseIdToNameFromHttpResponse

java.lang.Object
  extended by org.jclouds.cloudstack.functions.ParseIdToNameFromHttpResponse
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,Map<Long,String>>

@Singleton
public class ParseIdToNameFromHttpResponse
extends Object
implements com.google.common.base.Function<HttpResponse,Map<Long,String>>

Author:
Adrian Cole

Constructor Summary
ParseIdToNameFromHttpResponse(GsonWrapper gsonWrapper)
           
 
Method Summary
 Map<Long,String> 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

ParseIdToNameFromHttpResponse

@Inject
public ParseIdToNameFromHttpResponse(GsonWrapper gsonWrapper)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.