org.refcodes.component.Closable, org.refcodes.component.Configurable<B>, org.refcodes.component.ConnectionComponent<B>, org.refcodes.component.ConnectionOpenable<B>, org.refcodes.component.ConnectionStatusAccessor, org.refcodes.component.Destroyable, org.refcodes.component.Destroyable.DestroyAutomaton, org.refcodes.component.Initializable, org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.InitializedAccessor, org.refcodes.component.LifeCycleComponent, org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleStatusAccessor, org.refcodes.component.LinkComponent, org.refcodes.component.Openable, org.refcodes.component.Pausable, org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Resumable, org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.RunningAccessor, org.refcodes.component.Startable, org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Stoppable, org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.net.BaseUrlAccessor, org.refcodes.net.BaseUrlAccessor.BaseUrlBuilder<B>, org.refcodes.net.BaseUrlAccessor.BaseUrlMutator, org.refcodes.net.BaseUrlAccessor.BaseUrlProperty, org.refcodes.net.LoadBalancingStrategyAccessor, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<B>, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyProperty, org.refcodes.net.MediaTypeFactoryLookup, org.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup, org.refcodes.net.UserAgentAccessor, org.refcodes.net.UserAgentAccessor.UserAgentBuilder<B>, org.refcodes.net.UserAgentAccessor.UserAgentMutator, org.refcodes.net.UserAgentAccessor.UserAgentProperty, HttpDiscovery<B>, HttpDiscoveryRestClient<B>, HttpDiscoveryUrlAccessor, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlBuilder<B>, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutator, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlProperty, HttpRestClient, RestClient, RestDeleteClient, RestGetClient, RestPostClient, RestPutClient, RestRequestClient, org.refcodes.runtime.RequestCorrelation<B>, org.refcodes.runtime.SessionCorrelation<B>, org.refcodes.security.TrustStoreDescriptorAccessor, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorPropertypublic abstract class AbstractHttpDiscoveryRestClientDecorator<B extends HttpDiscoveryRestClient<B>> extends AbstractHttpRestClientDecorator<B> implements HttpDiscoveryRestClient<B>
HttpDiscoveryRestClient.org.refcodes.net.BaseUrlAccessor.BaseUrlBuilder<B extends org.refcodes.net.BaseUrlAccessor.BaseUrlBuilder<B>>, org.refcodes.net.BaseUrlAccessor.BaseUrlMutator, org.refcodes.net.BaseUrlAccessor.BaseUrlPropertyorg.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>org.refcodes.component.Configurable.ConfigureAutomaton<CTX extends Object>, org.refcodes.component.Configurable.ConfigureBuilder<CTX extends Object,B extends org.refcodes.component.Configurable.ConfigureBuilder<CTX,B>>org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends Object,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends Object,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusPropertyorg.refcodes.component.Destroyable.DestroyAutomatonHttpDiscoveryUrlAccessor.HttpDiscoveryUrlBuilder<B extends HttpDiscoveryUrlAccessor.HttpDiscoveryUrlBuilder<B>>, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutator, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlPropertyorg.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializableorg.refcodes.component.InitializedAccessor.InitializedMutator, org.refcodes.component.InitializedAccessor.InitializedPropertyorg.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponentorg.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusMutator, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusPropertyorg.refcodes.component.LinkComponent.LinkAutomaton, org.refcodes.component.LinkComponent.LinkComponentBuilder<B extends org.refcodes.component.LinkComponent.LinkComponentBuilder<B>>org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<B extends org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<B>>, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyPropertyorg.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookuporg.refcodes.component.Openable.OpenAutomaton, org.refcodes.component.Openable.OpenBuilder<B extends org.refcodes.component.Openable.OpenBuilder<B>>org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausableorg.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumableorg.refcodes.component.RunningAccessor.RunningMutator, org.refcodes.component.RunningAccessor.RunningPropertyorg.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Startable.StartBuilder<B extends org.refcodes.component.Startable.StartBuilder<B>>, org.refcodes.component.Startable.UncheckedStartableorg.refcodes.component.Stoppable.StopAutomaton, org.refcodes.component.Stoppable.StopBuilder<B extends org.refcodes.component.Stoppable.StopBuilder<B>>, org.refcodes.component.Stoppable.UncheckedStoppableorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorPropertyorg.refcodes.net.UserAgentAccessor.UserAgentBuilder<B extends org.refcodes.net.UserAgentAccessor.UserAgentBuilder<B>>, org.refcodes.net.UserAgentAccessor.UserAgentMutator, org.refcodes.net.UserAgentAccessor.UserAgentProperty| Modifier and Type | Field | Description |
|---|---|---|
protected org.refcodes.component.LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl |
_lifeCycleAutomaton |
DEFAULT_KEYSTORE_TYPE, DEFAULT_SSL_PROTOCOL| Constructor | Description |
|---|---|
AbstractHttpDiscoveryRestClientDecorator(HttpRestClient aClient) |
Decorates the given
HttpRestClient with discovery functionality. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Stops resolving of the host part of an
Url from the list of
available services and their accordingly associated Url as of the
discovery service. |
org.refcodes.net.Url |
getHttpDiscoveryUrl() |
Retrieves the URL from the URL property locating the service discovery
discovery.
|
org.refcodes.component.LifeCycleStatus |
getLifeCycleStatus() |
|
org.refcodes.net.LoadBalancingStrategy |
getLoadBalancingStrategy() |
|
void |
initialize() |
Initially fetches the list of available services and their accordingly
associated
Url from the discovery service. |
boolean |
isDestroyable() |
|
boolean |
isDestroyed() |
|
boolean |
isInitalizable() |
|
boolean |
isInitialized() |
|
boolean |
isPausable() |
|
boolean |
isPaused() |
|
boolean |
isResumable() |
|
boolean |
isRunning() |
|
boolean |
isStartable() |
|
boolean |
isStoppable() |
|
boolean |
isStopped() |
|
void |
pause() |
Pauses the resolving of the host part of an
Url from the list of
available services and their accordingly associated Url as of the
discovery service. |
void |
resume() |
Resumes the resolving of the host part of an
Url from the list of
available services and their accordingly associated Url as of the
discovery service. |
void |
setHttpDiscoveryUrl(org.refcodes.net.Url aUrl) |
Sets the URL for the URL property locating the service discovery
discovery.
|
void |
setLoadBalancingStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy) |
|
void |
start() |
Starts resolving of the host part of an
Url from the list of
available services and their accordingly associated Url as of the
discovery service. |
void |
stop() |
Stops resolving of the host part of an
Url from the list of
available services and their accordingly associated Url as of the
discovery service. |
protected org.refcodes.net.Url |
toHttpDiscoveryUrl(org.refcodes.net.Url aDiscoveryUrl) |
|
protected org.refcodes.net.LoadBalancingStrategy |
toLoadBalancerStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy) |
|
protected org.refcodes.security.TrustStoreDescriptor |
toTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
|
abstract org.refcodes.net.Url |
toUrl(org.refcodes.net.Url aUrl) |
Hook for sub-classes to modify the request URL.
|
addMediaTypeFactory, buildRequest, close, closeIn, closeQuietly, closeUnchecked, disableRequestCorrelation, disableSessionCorrelation, doRequest, doRequest, enableRequestCorrelation, enableSessionCorrelation, getBaseUrl, getConnectionStatus, getFactoryMediaTypes, getTrustStoreDescriptor, getUserAgent, hasMediaTypeFactory, hasRequestCorrelation, hasSessionCorrelation, open, open, openUnchecked, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setRequestCorrelation, setSessionCorrelation, setTrustStoreDescriptor, setUserAgent, toMediaTypeFactory, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withDisableRequestCorrelation, withDisableSessionCorrelation, withEnableRequestCorrelation, withEnableSessionCorrelation, withRequestCorrelation, withSessionCorrelation, withUserAgentwithBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrlsetBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrlclose, closeIn, closeQuietly, closeUncheckedgetConnectionStatus, isConnectionOpenedinitialize, initialize, initialize, initialize, initialize, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, toUrl, withHttpDiscoveryUrl, withLoadBalancingStrategywithTrustStoreDescriptoropen, open, open, open, open, withDisableRequestCorrelation, withDisableSessionCorrelation, withEnableRequestCorrelation, withEnableSessionCorrelation, withRequestCorrelation, withSessionCorrelation, withUserAgentgetFactoryMediaTypes, hasMediaTypeFactory, toMediaTypeFactoryaddMediaTypeFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableRequestCorrelation, enableRequestCorrelation, hasRequestCorrelation, setRequestCorrelationbuildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, buildDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDeletebuildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGetbuildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPostbuildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPutbuildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequestdisableSessionCorrelation, enableSessionCorrelation, hasSessionCorrelation, setSessionCorrelationgetTrustStoreDescriptorprotected org.refcodes.component.LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl _lifeCycleAutomaton
public AbstractHttpDiscoveryRestClientDecorator(HttpRestClient aClient)
HttpRestClient with discovery functionality.aClient - The HttpRestClient to be decorated.public boolean isRunning()
isRunning in interface org.refcodes.component.RunningAccessorpublic boolean isInitialized()
isInitialized in interface org.refcodes.component.InitializedAccessorpublic org.refcodes.component.LifeCycleStatus getLifeCycleStatus()
getLifeCycleStatus in interface org.refcodes.component.LifeCycleStatusAccessorpublic void pause()
throws org.refcodes.component.PauseException
Url from the list of
available services and their accordingly associated Url as of the
discovery service.
pause in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>pause in interface org.refcodes.component.Pausableorg.refcodes.component.PauseExceptionpublic void stop()
throws org.refcodes.component.StopException
Url from the list of
available services and their accordingly associated Url as of the
discovery service. Does not update the list of available services and
their accordingly associated Url from the discovery service. This
may be achieved by canceling a scheduler.
stop in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>stop in interface org.refcodes.component.Stoppableorg.refcodes.component.StopExceptionpublic void start()
throws org.refcodes.component.StartException
Url from the list of
available services and their accordingly associated Url as of the
discovery service. Takes care to update the list of available services
and their accordingly associated Url from the discovery service.
This may be achieved by starting a scheduler. If necessary, the
connection is opened.
start in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>start in interface org.refcodes.component.Startableorg.refcodes.component.StartExceptionpublic void resume()
throws org.refcodes.component.ResumeException
Url from the list of
available services and their accordingly associated Url as of the
discovery service.
resume in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>resume in interface org.refcodes.component.Resumableorg.refcodes.component.ResumeExceptionpublic void initialize()
throws org.refcodes.component.InitializeException
Url from the discovery service. Sets up the client
according to the current client's state when invoking
HttpDiscovery.initialize(Url, LoadBalancingStrategy, TrustStoreDescriptor).
initialize in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>initialize in interface org.refcodes.component.Initializableorg.refcodes.component.InitializeExceptionpublic boolean isStoppable()
isStoppable in interface org.refcodes.component.Stoppable.StopAutomatonpublic boolean isPausable()
isPausable in interface org.refcodes.component.Pausable.PauseAutomatonpublic boolean isStartable()
isStartable in interface org.refcodes.component.Startable.StartAutomatonpublic boolean isResumable()
isResumable in interface org.refcodes.component.Resumable.ResumeAutomatonpublic boolean isStopped()
isStopped in interface org.refcodes.component.Stoppable.StopAutomatonpublic boolean isPaused()
isPaused in interface org.refcodes.component.Pausable.PauseAutomatonpublic boolean isInitalizable()
isInitalizable in interface org.refcodes.component.Initializable.InitializeAutomatonpublic void destroy()
Url from the list of
available services and their accordingly associated Url as of the
discovery service. Does not update the list of available services and
their accordingly associated Url from the discovery service. This
may be achieved by canceling a scheduler. Finally the connection is
closed.
destroy in interface org.refcodes.component.Destroyabledestroy in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>public boolean isDestroyable()
isDestroyable in interface org.refcodes.component.Destroyable.DestroyAutomatonpublic boolean isDestroyed()
isDestroyed in interface org.refcodes.component.Destroyable.DestroyAutomatonpublic abstract org.refcodes.net.Url toUrl(org.refcodes.net.Url aUrl)
toUrl in interface HttpDiscovery<B extends HttpDiscoveryRestClient<B>>toUrl in class AbstractHttpRestClientDecorator<B extends HttpDiscoveryRestClient<B>>aUrl - The Url for the request.Url, by default it returns the provided
Url unmodified.public void setLoadBalancingStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy)
setLoadBalancingStrategy in interface org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutatorpublic org.refcodes.net.LoadBalancingStrategy getLoadBalancingStrategy()
getLoadBalancingStrategy in interface org.refcodes.net.LoadBalancingStrategyAccessorpublic org.refcodes.net.Url getHttpDiscoveryUrl()
getHttpDiscoveryUrl in interface HttpDiscoveryUrlAccessorpublic void setHttpDiscoveryUrl(org.refcodes.net.Url aUrl)
setHttpDiscoveryUrl in interface HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutatoraUrl - The service discovery discovery URL to be stored by the
URL property.protected org.refcodes.security.TrustStoreDescriptor toTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
protected org.refcodes.net.Url toHttpDiscoveryUrl(org.refcodes.net.Url aDiscoveryUrl)
protected org.refcodes.net.LoadBalancingStrategy toLoadBalancerStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy)
Copyright © 2018. All rights reserved.