2017-01-30 01:43:34 +01:00
|
|
|
package tc.oc.api.http;
|
|
|
|
|
|
|
|
import tc.oc.commons.core.inject.HybridManifest;
|
|
|
|
|
|
|
|
public class HttpManifest extends HybridManifest {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected void configure() {
|
|
|
|
expose(HttpClient.class);
|
2017-02-18 07:08:38 +01:00
|
|
|
bind(HttpClient.class).asEagerSingleton();
|
2017-01-30 01:43:34 +01:00
|
|
|
bind(HttpClientConfiguration.class)
|
|
|
|
.to(HttpClientConfigurationImpl.class);
|
|
|
|
}
|
|
|
|
}
|