com.github.bingoohuang.springrestclient.provider.DiamondBaseUrlProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-rest-client Show documentation
Show all versions of spring-rest-client Show documentation
convenient spring rest client for rest services
package com.github.bingoohuang.springrestclient.provider;
import org.n3r.diamond.client.Miner;
import org.springframework.stereotype.Component;
@Component
public class DiamondBaseUrlProvider implements BaseUrlProvider {
@Override
public String getBaseUrl(Class> apiClass) {
return new Miner().getMiner("api", "base.urls").getString(apiClass.getSimpleName());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy