com.github.linyuzai.dynamicfeign.targeter.DefaultTargeter Maven / Gradle / Ivy
package com.github.linyuzai.dynamicfeign.targeter;
import com.github.linyuzai.dynamicfeign.factory.DynamicFeignClientFactoryBean;
import feign.Feign;
import feign.Target;
import org.springframework.cloud.openfeign.FeignContext;
public class DefaultTargeter implements Targeter {
@Override
public T target(DynamicFeignClientFactoryBean factory, Feign.Builder feign, FeignContext context,
Target.HardCodedTarget target) {
return feign.target(target);
}
}