@Priority(value=200) public class SpringBootRestTemplateRestClientFactory extends Object implements RestClientFactory
RestClientFactory to create RestTemplateRestClient instances.DEFAULT_PRIORITY| Constructor and Description |
|---|
SpringBootRestTemplateRestClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
RestClient |
create(ClassLoader classLoader)
Create a new
RestClient instance. |
Class<?> |
getRestClientImplementationClass()
Get the
RestClient implementation class returned by this factory. |
public SpringBootRestTemplateRestClientFactory()
public Class<?> getRestClientImplementationClass()
RestClientFactoryRestClient implementation class returned by this factory.getRestClientImplementationClass in interface RestClientFactoryRestClient implementation classpublic RestClient create(ClassLoader classLoader) throws RestClientCreationException
RestClientFactoryRestClient instance.create in interface RestClientFactoryclassLoader - The ClassLoader for which the instance creation is requestedRestClient instanceRestClientCreationException - If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.