|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.apis.internal.BaseApiMetadata
org.jclouds.rest.internal.BaseRestApiMetadata
BaseHttpApiMetadata as
async interface will be removed in jclouds 1.7.
@Beta public abstract class BaseRestApiMetadata
Useful in creating rest apis.
| Nested Class Summary | |
|---|---|
static class |
BaseRestApiMetadata.Builder<T extends BaseRestApiMetadata.Builder<T>>
Deprecated. |
| Field Summary | |
|---|---|
protected Class<?> |
api
Deprecated. |
protected Class<?> |
asyncApi
Deprecated. |
| Constructor Summary | |
|---|---|
protected |
BaseRestApiMetadata(BaseRestApiMetadata.Builder<?> builder)
Deprecated. |
| Method Summary | ||
|---|---|---|
static
|
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. |
|
| Methods inherited from class org.jclouds.apis.internal.BaseApiMetadata |
|---|
equals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jclouds.apis.ApiMetadata |
|---|
getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, toBuilder |
| Field Detail |
|---|
protected final Class<?> api
protected final Class<?> asyncApi
| Constructor Detail |
|---|
protected BaseRestApiMetadata(BaseRestApiMetadata.Builder<?> builder)
| Method Detail |
|---|
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 BaseApiMetadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||