@Override protected void configure() { super.configure(); bind(new TypeLiteral<Function<Invocation, Object>>() { }).to(InvokeHttpMethod.class); bindHttpApi(binder(), api); bindHttpApi(binder(), HttpClient.class); bindErrorHandlers(); bindRetryHandlers(); }
@Override protected void configure() { super.configure(); bind(new TypeLiteral<Function<Invocation, Object>>() { }).to(InvokeHttpMethod.class); bindHttpApi(binder(), api); bindHttpApi(binder(), HttpClient.class); // TODO: remove when references are gone bindHttpApi(binder(), HttpAsyncClient.class); bindErrorHandlers(); bindRetryHandlers(); }
@Override protected void configure() { super.configure(); bind(new TypeLiteral<Function<Invocation, Object>>() { }).to(InvokeHttpMethod.class); bindHttpApi(binder(), api); bindHttpApi(binder(), HttpClient.class); bindErrorHandlers(); bindRetryHandlers(); }
@Override protected void configure() { super.configure(); bind(new TypeLiteral<Function<Invocation, Object>>() { }).to(InvokeHttpMethod.class); bindHttpApi(binder(), api); bindHttpApi(binder(), HttpClient.class); // TODO: remove when references are gone bindHttpApi(binder(), HttpAsyncClient.class); bindErrorHandlers(); bindRetryHandlers(); }
@Override protected void configure() { super.configure(); bind(new TypeLiteral<Function<Invocation, Object>>() { }).to(InvokeHttpMethod.class); bindHttpApi(binder(), api); bindHttpApi(binder(), HttpClient.class); // TODO: remove when references are gone bindHttpApi(binder(), HttpAsyncClient.class); bindErrorHandlers(); bindRetryHandlers(); }
@Override protected void configure() { super.configure(); bind(new TypeLiteral<Function<Invocation, Object>>() { }).to(InvokeHttpMethod.class); bindHttpApi(binder(), api); bindHttpApi(binder(), HttpClient.class); bindErrorHandlers(); bindRetryHandlers(); }