public class AemCommonModule
extends com.google.inject.AbstractModule
| Constructor and Description |
|---|
AemCommonModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
org.apache.http.impl.client.CloseableHttpClient |
getAuthorHttpClient(String url,
String login,
String password)
Provider method that produces a CloseableHttpClient instances configured with URL, login and password
taken from property files.
|
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 com.google.inject.AbstractModule@Provides public org.apache.http.impl.client.CloseableHttpClient getAuthorHttpClient(String url, String login, String password)
url - IP address of Author instance, automatically set to author.ip property.login - Author login, automatically set to author.login property.password - Author password, automatically set to author.password property.Copyright © 2016–2018 Cognifide Ltd.. All rights reserved.