public class SoftLayerRestClient extends Object
| Constructor and Description |
|---|
SoftLayerRestClient(String endpoint,
String apiKey,
String secretKey,
org.jclouds.compute.ComputeServiceContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.jclouds.cloudstack.filters.QuerySigner |
getQuerySigner() |
org.jclouds.softlayer.SoftLayerApi |
getSoftLayerApi() |
protected static com.google.gson.Gson |
gson() |
static com.google.gson.JsonElement |
json(org.jclouds.http.HttpResponse response) |
static com.google.gson.JsonElement |
json(brooklyn.util.http.HttpToolResponse response) |
static com.google.gson.JsonElement |
json(InputStream is) |
static SoftLayerRestClient |
newInstance(brooklyn.location.jclouds.JcloudsLocation loc) |
static String |
pretty(InputStream is) |
static String |
pretty(com.google.gson.JsonElement js) |
public static SoftLayerRestClient newInstance(brooklyn.location.jclouds.JcloudsLocation loc)
public void close()
public org.jclouds.softlayer.SoftLayerApi getSoftLayerApi()
public org.jclouds.cloudstack.filters.QuerySigner getQuerySigner()
public static com.google.gson.JsonElement json(brooklyn.util.http.HttpToolResponse response)
public static com.google.gson.JsonElement json(org.jclouds.http.HttpResponse response)
throws IOException
IOExceptionpublic static com.google.gson.JsonElement json(InputStream is)
public static String pretty(InputStream is)
public static String pretty(com.google.gson.JsonElement js)
protected static com.google.gson.Gson gson()
Copyright © 2015. All rights reserved.