public class CloudStackHttpApiModule extends org.jclouds.rest.config.HttpApiModule<CloudStackApi>
| Constructor and Description |
|---|
CloudStackHttpApiModule() |
| Modifier and Type | Method and Description |
|---|---|
protected AuthenticationFilter |
authenticationFilterForCredentialType(CredentialType credentialType,
AddSessionKeyAndJSessionIdToRequest addSessionKeyAndJSessionIdToRequest,
QuerySigner querySigner)
we use the type of credentials specified at login to determine which way we want to filter the
request.
|
protected void |
bindErrorHandlers() |
protected void |
configure() |
protected void |
installLocations() |
protected com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,LoginResponse> |
provideLoginResponseCache(LoginWithPasswordCredentials getLoginResponse,
int seconds) |
protected com.google.common.base.Supplier<LoginResponse> |
provideLoginResponseSupplier(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,LoginResponse> cache,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class org.jclouds.rest.config.HttpApiModule<CloudStackApi>protected void installLocations()
installLocations in class org.jclouds.rest.config.RestModuleprotected void bindErrorHandlers()
bindErrorHandlers in class org.jclouds.rest.config.HttpApiModule<CloudStackApi>@Provides protected final AuthenticationFilter authenticationFilterForCredentialType(CredentialType credentialType, AddSessionKeyAndJSessionIdToRequest addSessionKeyAndJSessionIdToRequest, QuerySigner querySigner)
@Provides protected final com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,LoginResponse> provideLoginResponseCache(LoginWithPasswordCredentials getLoginResponse, int seconds)
@Provides protected final com.google.common.base.Supplier<LoginResponse> provideLoginResponseSupplier(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,LoginResponse> cache, com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)
Copyright © 2009-2017 The Apache Software Foundation. All Rights Reserved.