Package com.proofpoint.discovery.client.DiscoveryBinder

Examples of com.proofpoint.discovery.client.DiscoveryBinder.BalancingHttpClientBindingBuilder


                        discoveryBinder(binder).bindDiscoveredHttpClient("foo", FooClient.class)
                                .withFilter(TestingRequestFilter.class)
                                .withFilter(AnotherHttpRequestFilter.class)
                                .withTracing();

                        BalancingHttpClientBindingBuilder builder = discoveryBinder(binder).bindDiscoveredHttpClient("bar", BarClient.class);
                        builder.withFilter(TestingRequestFilter.class);
                        builder.addFilterBinding().to(AnotherHttpRequestFilter.class);
                        binder.install(new TraceTokenModule());
                    }
                });

        assertNotNull(injector.getInstance(Key.get(HttpClient.class, FooClient.class)));
View Full Code Here

TOP

Related Classes of com.proofpoint.discovery.client.DiscoveryBinder.BalancingHttpClientBindingBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.