Package org.jclouds.rest.config
Class BinderUtils
java.lang.Object
org.jclouds.rest.config.BinderUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S,
A> void bindHttpApi
(com.google.inject.Binder binder, Class<A> api) adds an explicit binding forasync
by parsing its annotations.
-
Constructor Details
-
BinderUtils
public BinderUtils()
-
-
Method Details
-
bindHttpApi
adds an explicit binding forasync
by parsing its annotations.- Type Parameters:
S
- sync interface that blocksA
- api type with http annotations- Parameters:
binder
- guice binderapi
- type with http annotations
-