BaseHttpApiMetadata
as
async interface will be removed in jclouds 1.7.@Beta public abstract class BaseRestApiMetadata extends BaseApiMetadata implements RestApiMetadata
Modifier and Type | Class and Description |
---|---|
static class |
BaseRestApiMetadata.Builder<T extends BaseRestApiMetadata.Builder<T>>
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
api
Deprecated.
|
protected Class<?> |
asyncApi
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
BaseRestApiMetadata(BaseRestApiMetadata.Builder<?> builder)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <S,A> com.google.common.reflect.TypeToken<RestContext<S,A>> |
contextToken(com.google.common.reflect.TypeToken<S> apiToken,
com.google.common.reflect.TypeToken<A> asyncApiToken)
Deprecated.
|
static Properties |
defaultProperties()
Deprecated.
|
Class<?> |
getApi()
Deprecated.
|
Class<?> |
getAsyncApi()
Deprecated.
|
protected com.google.common.base.Objects.ToStringHelper |
string()
Deprecated.
|
equals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, toBuilder
protected final Class<?> api
protected final Class<?> asyncApi
protected BaseRestApiMetadata(BaseRestApiMetadata.Builder<?> builder)
public static Properties defaultProperties()
public static <S,A> com.google.common.reflect.TypeToken<RestContext<S,A>> contextToken(com.google.common.reflect.TypeToken<S> apiToken, com.google.common.reflect.TypeToken<A> asyncApiToken)
public Class<?> getApi()
getApi
in interface RestApiMetadata
public Class<?> getAsyncApi()
getAsyncApi
in interface RestApiMetadata
RestApiMetadata.getApi()
, except
all methods return ListenableFuture
protected com.google.common.base.Objects.ToStringHelper string()
string
in class BaseApiMetadata
Copyright © 2009-2013 jclouds. All Rights Reserved.