Package org.refcodes.rest
Class HttpDiscoveryContextBuilderImpl
- java.lang.Object
-
- org.refcodes.rest.HttpDiscoveryContextBuilderImpl
-
- All Implemented Interfaces:
org.refcodes.net.LoadBalancingStrategyAccessor,org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<HttpDiscoveryContext.HttpDiscoveryContextBuilder>,org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator,org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyProperty,HttpDiscoveryContext.HttpDiscoveryContextBuilder,HttpDiscoveryUrlAccessor,HttpDiscoveryUrlAccessor.HttpDiscoveryUrlBuilder<HttpDiscoveryContext.HttpDiscoveryContextBuilder>,HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutator,HttpDiscoveryUrlAccessor.HttpDiscoveryUrlProperty,org.refcodes.security.TrustStoreDescriptorAccessor,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpDiscoveryContext.HttpDiscoveryContextBuilder>,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
public class HttpDiscoveryContextBuilderImpl extends java.lang.Object implements HttpDiscoveryContext.HttpDiscoveryContextBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpDiscoveryUrlAccessor
HttpDiscoveryUrlAccessor.HttpDiscoveryUrlBuilder<B extends HttpDiscoveryUrlAccessor.HttpDiscoveryUrlBuilder<B>>, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutator, HttpDiscoveryUrlAccessor.HttpDiscoveryUrlProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.LoadBalancingStrategyAccessor
org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<B extends org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<B>>, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator, org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyProperty
-
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
-
-
Constructor Summary
Constructors Constructor Description HttpDiscoveryContextBuilderImpl(org.refcodes.net.Url aDiscoveryUrl)Constructs theHttpDiscoveryContextBuilderImplcontext.HttpDiscoveryContextBuilderImpl(org.refcodes.net.Url aDiscoveryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)Constructs theHttpDiscoveryContextBuilderImplcontext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.refcodes.net.UrlgetHttpDiscoveryUrl()Retrieves the URL from the URL property locating the service discovery discovery.org.refcodes.net.LoadBalancingStrategygetLoadBalancingStrategy()org.refcodes.security.TrustStoreDescriptorgetTrustStoreDescriptor()voidsetHttpDiscoveryUrl(org.refcodes.net.Url aUrl)Sets the URL for the URL property locating the service discovery discovery.voidsetLoadBalancingStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy)voidsetTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)-
Methods inherited from interface org.refcodes.rest.HttpDiscoveryContext.HttpDiscoveryContextBuilder
withHttpDiscoveryUrl, withLoadBalancingStrategy, withTrustStoreDescriptor
-
-
-
-
Constructor Detail
-
HttpDiscoveryContextBuilderImpl
public HttpDiscoveryContextBuilderImpl(org.refcodes.net.Url aDiscoveryUrl)
Constructs theHttpDiscoveryContextBuilderImplcontext.- Parameters:
aDiscoveryUrl- TheUrlpointing to the service discovery registry.
-
HttpDiscoveryContextBuilderImpl
public HttpDiscoveryContextBuilderImpl(org.refcodes.net.Url aDiscoveryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)Constructs theHttpDiscoveryContextBuilderImplcontext.- Parameters:
aDiscoveryUrl- TheUrlpointing to the service discovery registry.aStoreDescriptor- The descriptor describing the truststore (KeyStore) required for establishing an HTTPS connection to the registry.
-
-
Method Detail
-
getHttpDiscoveryUrl
public org.refcodes.net.Url getHttpDiscoveryUrl()
Retrieves the URL from the URL property locating the service discovery discovery.- Specified by:
getHttpDiscoveryUrlin interfaceHttpDiscoveryUrlAccessor- Returns:
- The URL stored by the URL property.
-
getTrustStoreDescriptor
public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()
- Specified by:
getTrustStoreDescriptorin interfaceorg.refcodes.security.TrustStoreDescriptorAccessor
-
setHttpDiscoveryUrl
public void setHttpDiscoveryUrl(org.refcodes.net.Url aUrl)
Description copied from interface:HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutatorSets the URL for the URL property locating the service discovery discovery.- Specified by:
setHttpDiscoveryUrlin interfaceHttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutator- Parameters:
aUrl- The service discovery discovery URL to be stored by the URL property.
-
setTrustStoreDescriptor
public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
- Specified by:
setTrustStoreDescriptorin interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
-
getLoadBalancingStrategy
public org.refcodes.net.LoadBalancingStrategy getLoadBalancingStrategy()
- Specified by:
getLoadBalancingStrategyin interfaceorg.refcodes.net.LoadBalancingStrategyAccessor
-
setLoadBalancingStrategy
public void setLoadBalancingStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy)
- Specified by:
setLoadBalancingStrategyin interfaceorg.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator
-
-