org.jclouds.rest.internal
Class BaseHttpApiMetadata<A>
java.lang.Object
org.jclouds.apis.internal.BaseApiMetadata
org.jclouds.rest.internal.BaseHttpApiMetadata<A>
- All Implemented Interfaces:
- ApiMetadata, HttpApiMetadata<A>
- Direct Known Subclasses:
- AnonymousHttpApiMetadata
@Beta
public abstract class BaseHttpApiMetadata<A>
- extends BaseApiMetadata
- implements HttpApiMetadata<A>
Useful in creating http apis.
| 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 interface org.jclouds.apis.ApiMetadata |
getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, toBuilder |
api
protected final Class<A> api
BaseHttpApiMetadata
protected BaseHttpApiMetadata(BaseHttpApiMetadata.Builder<A,?> builder)
defaultProperties
public static Properties defaultProperties()
contextToken
public static <S,A> com.google.common.reflect.TypeToken<ApiContext<A>> contextToken(com.google.common.reflect.TypeToken<A> apiToken)
getApi
public Class<A> getApi()
- Specified by:
getApi in interface HttpApiMetadata<A>
- Returns:
- the type of the java api which has http annotations on its methods.
string
protected com.google.common.base.Objects.ToStringHelper string()
- Overrides:
string in class BaseApiMetadata
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.