
pl.chilldev.commons.client.BaseFeignClientFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-client Show documentation
Show all versions of commons-client Show documentation
Web services client building utilities.
The newest version!
/*
* This file is part of the ChillDev-Commons.
*
* @license http://mit-license.org/ The MIT license
* @copyright 2017 © by Rafał Wrzeszcz - Wrzasq.pl.
*/
package pl.chilldev.commons.client;
import java.util.Collection;
import java.util.function.Consumer;
import feign.Feign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* Feign factory for standard, pure Feign.
*/
@Service
public class BaseFeignClientFactory extends FeignClientFactory
{
/**
* Collection of all custom client modifiers.
*
* @param configurators Feign builder configurators.
*/
@Autowired(required = false)
public BaseFeignClientFactory(Collection> configurators)
{
super(configurators, Feign::builder);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy