This project has retired. For details please refer to its
Attic page.
ParseJson (Apache jclouds 1.7.3 API)
-
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,T>
- Direct Known Subclasses:
- ParseFlavorDetails, ParseFlavors, ParseImageDetails, ParseImageDetails, ParseImages, ParseImages, ParseLoadBalancerUsages, ParseMetadata, ParseNetworkDetails, ParseNetworks, ParseNodes, ParseObjectInfoListFromJsonResponse, ParsePortDetails, ParsePorts, ParseRouterDetails, ParseRouters, ParseServerDetails, ParseServers, ParseSubnetDetails, ParseSubnets, ParseTenants, ParseUsers
@Singleton
public class ParseJson<T>
extends Object
implements com.google.common.base.Function<HttpResponse,T>
This object will parse the body of an HttpResponse and return the result of
type back to the caller.
- Author:
- Adrian Cole
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
protected Json |
json |
protected Logger |
logger |
protected com.google.inject.TypeLiteral<T> |
type |
-
Constructor Summary
Constructors
Constructor and Description |
ParseJson(Json json,
com.google.inject.TypeLiteral<T> type) |
-
Method Summary
-
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
-
-
Field Detail
-
logger
protected Logger logger
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.