org.jclouds.gogrid.functions
Class ParseServerFromJsonResponse

java.lang.Object
  extended by org.jclouds.gogrid.functions.ParseServerFromJsonResponse
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,Server>

@Singleton
public class ParseServerFromJsonResponse
extends Object
implements com.google.common.base.Function<HttpResponse,Server>

Parses a single Server from a json string. This class delegates parsing to ParseServerListFromJsonResponse.

Author:
Oleksiy Yarmula

Method Summary
 Server apply(HttpResponse arg0)
           
 
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
 

Method Detail

apply

public Server apply(HttpResponse arg0)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,Server>


Copyright © 2009-2012 jclouds. All Rights Reserved.