|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.rest.config.RestModule
org.jclouds.rest.config.HttpApiModule<CloudStackApi>
org.jclouds.cloudstack.config.CloudStackHttpApiModule
public class CloudStackHttpApiModule
Configures the cloudstack connection.
| Field Summary |
|---|
| Fields inherited from class org.jclouds.rest.config.HttpApiModule |
|---|
api |
| Fields inherited from class org.jclouds.rest.config.RestModule |
|---|
authException, URI_SUPPLIER_TYPE |
| Constructor Summary | |
|---|---|
CloudStackHttpApiModule()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.jclouds.rest.config.HttpApiModule |
|---|
bindRetryHandlers |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CloudStackHttpApiModule()
| Method Detail |
|---|
protected 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 AuthenticationFilter authenticationFilterForCredentialType(CredentialType credentialType,
AddSessionKeyAndJSessionIdToRequest addSessionKeyAndJSessionIdToRequest,
QuerySigner querySigner)
@Provides
protected com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,LoginResponse> provideLoginResponseCache(LoginWithPasswordCredentials getLoginResponse,
int seconds)
@Provides
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||