Package 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
,AtmosApiMetadata
,AutoscaleApiMetadata
,AWSEC2ApiMetadata
,AzureBlobApiMetadata
,AzureManagementApiMetadata
,B2ApiMetadata
,ChefApiMetadata
,CinderApiMetadata
,CloudDNSApiMetadata
,CloudFilesApiMetadata
,CloudLoadBalancersApiMetadata
,CloudStackApiMetadata
,CloudWatchApiMetadata
,DigitalOcean2ApiMetadata
,DockerApiMetadata
,DynECTApiMetadata
,EC2ApiMetadata
,ElasticStackApiMetadata
,GlanceApiMetadata
,GleSYSApiMetadata
,GoGridApiMetadata
,GoogleCloudStorageApiMetadata
,GoogleComputeEngineApiMetadata
,KeystoneApiMetadata
,KeystoneApiMetadata
,MarconiApiMetadata
,NeutronApiMetadata
,NovaApiMetadata
,NovaEC2ApiMetadata
,PacketApiMetadata
,ProfitBricksApiMetadata
,Route53ApiMetadata
,S3ApiMetadata
,SoftLayerApiMetadata
,SQSApiMetadata
,STSApiMetadata
,SwiftApiMetadata
,TroveApiMetadata
,UltraDNSWSApiMetadata
@Beta public abstract class BaseHttpApiMetadata<A> extends BaseApiMetadata implements HttpApiMetadata<A>
Useful in creating http apis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseHttpApiMetadata.Builder<A,T extends BaseHttpApiMetadata.Builder<A,T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseHttpApiMetadata(BaseHttpApiMetadata.Builder<A,?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S,A>
com.google.common.reflect.TypeToken<ApiContext<A>>contextToken(com.google.common.reflect.TypeToken<A> apiToken)
static Properties
defaultProperties()
Class<A>
getApi()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
-
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
-
-
-
-
Constructor Detail
-
BaseHttpApiMetadata
protected BaseHttpApiMetadata(BaseHttpApiMetadata.Builder<A,?> builder)
-
-
Method Detail
-
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 interfaceHttpApiMetadata<A>
- Returns:
- the type of the java api which has http annotations on its methods.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
string
in classBaseApiMetadata
-
-