@Beta public abstract class BaseRestApiMetadata extends BaseApiMetadata implements RestApiMetadata
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseRestApiMetadata.Builder<T extends BaseRestApiMetadata.Builder<T>> |
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
api |
protected Class<?> |
asyncApi |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRestApiMetadata(BaseRestApiMetadata.Builder<?> builder) |
| 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) |
static Properties |
defaultProperties() |
Class<?> |
getApi() |
Class<?> |
getAsyncApi() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
equals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, toBuilderprotected 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 RestApiMetadatapublic Class<?> getAsyncApi()
getAsyncApi in interface RestApiMetadataRestApiMetadata.getApi(), except
all methods return ListenableFutureprotected com.google.common.base.Objects.ToStringHelper string()
string in class BaseApiMetadataCopyright © 2009-2013 jclouds. All Rights Reserved.