@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()
RestClientFactory
RestClient
implementation class returned by this factory.getRestClientImplementationClass
in interface RestClientFactory
RestClient
implementation classpublic RestClient create(ClassLoader classLoader) throws RestClientCreationException
RestClientFactory
RestClient
instance.create
in interface RestClientFactory
classLoader
- The ClassLoader
for which the instance creation is requestedRestClient
instanceRestClientCreationException
- If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.