/** * adds an explicit binding for {@code async} by parsing its annotations. * * @param <S> * sync interface that blocks * @param <A> * api type with http annotations * @param binder * guice binder * @param api * type with http annotations */ public static <S, A> void bindHttpApi(Binder binder, Class<A> api) { bindClass(binder, api); bindAnnotatedHttpApiProvider(binder, api); }
/** * adds an explicit binding for {@code async} by parsing its annotations. * * @param <S> * sync interface that blocks * @param <A> * api type with http annotations * @param binder * guice binder * @param api * type with http annotations */ public static <S, A> void bindHttpApi(Binder binder, Class<A> api) { bindClass(binder, api); bindAnnotatedHttpApiProvider(binder, api); }
/** * adds an explicit binding for {@code async} by parsing its annotations. * * @param <S> * sync interface that blocks * @param <A> * api type with http annotations * @param binder * guice binder * @param api * type with http annotations */ public static <S, A> void bindHttpApi(Binder binder, Class<A> api) { bindClass(binder, api); bindAnnotatedHttpApiProvider(binder, api); }
/** * adds an explicit binding for {@code async} by parsing its annotations. * * @param <S> * sync interface that blocks * @param <A> * api type with http annotations * @param binder * guice binder * @param api * type with http annotations */ public static <S, A> void bindHttpApi(Binder binder, Class<A> api) { bindClass(binder, api); bindAnnotatedHttpApiProvider(binder, api); }
/** * adds an explicit binding for {@code async} by parsing its annotations. * * @param <S> * sync interface that blocks * @param <A> * api type with http annotations * @param binder * guice binder * @param api * type with http annotations */ public static <S, A> void bindHttpApi(Binder binder, Class<A> api) { bindClass(binder, api); bindAnnotatedHttpApiProvider(binder, api); }
/** * adds an explicit binding for {@code async} by parsing its annotations. * * @param <S> * sync interface that blocks * @param <A> * api type with http annotations * @param binder * guice binder * @param api * type with http annotations */ public static <S, A> void bindHttpApi(Binder binder, Class<A> api) { bindClass(binder, api); bindAnnotatedHttpApiProvider(binder, api); }