org.jclouds.gogrid.functions
Class ParseServerFromJsonResponse
java.lang.Object
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
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 |
apply
public Server apply(HttpResponse arg0)
- Specified by:
apply
in interface com.google.common.base.Function<HttpResponse,Server>
Copyright © 2009-2011 jclouds. All Rights Reserved.