@Beta public class BaseRestApiMetadata extends BaseApiMetadata implements RestApiMetadata
Modifier and Type | Class and Description |
---|---|
static class |
BaseRestApiMetadata.Builder |
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
api |
protected Class<?> |
asyncApi |
buildVersion, context, credentialName, defaultCredential, defaultEndpoint, defaultIdentity, defaultModules, defaultProperties, documentation, endpointName, id, identityName, name, version, views
Modifier | Constructor and Description |
---|---|
protected |
BaseRestApiMetadata(BaseRestApiMetadata.Builder builder) |
|
BaseRestApiMetadata(Class<?> api,
Class<?> asyncApi) |
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() |
BaseRestApiMetadata.Builder |
toBuilder() |
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
protected BaseRestApiMetadata(BaseRestApiMetadata.Builder builder)
public BaseRestApiMetadata.Builder toBuilder()
toBuilder
in interface ApiMetadata
toBuilder
in class BaseApiMetadata
ApiMetadata.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.