org.jclouds.rest
Interface Utils

All Known Implementing Classes:
UtilsImpl

public interface Utils


Method Summary
 HttpAsyncClient asyncHttp()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 Map<String,Credentials> credentialStore()
          retrieves a list of credentials for resources created within this context, keyed on id of the resource with a namespace prefix (ex.
 Crypto crypto()
           
 DateService date()
           
 com.google.common.eventbus.EventBus eventBus()
           
 HttpClient http()
           
 com.google.inject.Injector injector()
           
 com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 Json json()
           
 Logger.LoggerFactory loggerFactory()
           
 com.google.common.util.concurrent.ListeningExecutorService userExecutor()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 XMLParser xml()
           
 

Method Detail

credentialStore

@Beta
Map<String,Credentials> credentialStore()
retrieves a list of credentials for resources created within this context, keyed on id of the resource with a namespace prefix (ex. node#. We are testing this approach for resources such as compute nodes, where you could access this externally.

accessing credentials for a node

the key is in the form node#id.


json

Json json()

asyncHttp

@Deprecated
HttpAsyncClient asyncHttp()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.


http

HttpClient http()

crypto

Crypto crypto()

date

DateService date()

userExecutor

@Deprecated
com.google.common.util.concurrent.ListeningExecutorService userExecutor()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.


ioExecutor

@Deprecated
com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.


eventBus

com.google.common.eventbus.EventBus eventBus()

loggerFactory

Logger.LoggerFactory loggerFactory()

injector

@Beta
com.google.inject.Injector injector()

xml

XMLParser xml()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.