Package feign.auth

Examples of feign.auth.BasicAuthRequestInterceptor


public class ExampleFrontendApp extends ConsulConfigurer {

    @Bean
    public PostClient postClient() {
        return client()
                .requestInterceptor(new BasicAuthRequestInterceptor("test", "test123"))
                .logLevel(Logger.Level.FULL)
                .target(loadBalance(PostClient.class, "http://exampleService"));
    }
View Full Code Here

TOP

Related Classes of feign.auth.BasicAuthRequestInterceptor

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.