public interface ReactiveRestClientFactory
ReactiveRestClient instances.
ReactiveRestClientFactory registration can be performed using default Java extension through
ServiceLoader, providing a com.holonplatform.reactor.http.ReactiveRestClientFactory file in
META-INF/services containing the ReactiveRestClientFactory concrete class names to register.
The ReactiveRestClientFactory priority declaration is supported using the Priority annotation on
factory class (where less priority value means higher priority order).
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PRIORITY
Default factory priority
|
| Modifier and Type | Method and Description |
|---|---|
ReactiveRestClient |
create(ClassLoader classLoader)
Create a new
ReactiveRestClient instance. |
Class<?> |
getRestClientImplementationClass()
Get the
ReactiveRestClient implementation class returned by this factory. |
static final int DEFAULT_PRIORITY
Class<?> getRestClientImplementationClass()
ReactiveRestClient implementation class returned by this factory.ReactiveRestClient implementation classReactiveRestClient create(ClassLoader classLoader) throws com.holonplatform.http.exceptions.RestClientCreationException
ReactiveRestClient instance.classLoader - The ClassLoader for which the instance creation is requestedReactiveRestClient instancecom.holonplatform.http.exceptions.RestClientCreationException - If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.