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 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 theHttpDiscoveryContextBuilderImpl
context.HttpDiscoveryContextBuilderImpl(org.refcodes.net.Url aDiscoveryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
Constructs theHttpDiscoveryContextBuilderImpl
context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.refcodes.net.Url
getHttpDiscoveryUrl()
Retrieves the URL from the URL property locating the service discovery discovery.org.refcodes.net.LoadBalancingStrategy
getLoadBalancingStrategy()
org.refcodes.security.TrustStoreDescriptor
getTrustStoreDescriptor()
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
setTrustStoreDescriptor(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 theHttpDiscoveryContextBuilderImpl
context.- Parameters:
aDiscoveryUrl
- TheUrl
pointing to the service discovery registry.
-
HttpDiscoveryContextBuilderImpl
public HttpDiscoveryContextBuilderImpl(org.refcodes.net.Url aDiscoveryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
Constructs theHttpDiscoveryContextBuilderImpl
context.- Parameters:
aDiscoveryUrl
- TheUrl
pointing 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:
getHttpDiscoveryUrl
in interfaceHttpDiscoveryUrlAccessor
- Returns:
- The URL stored by the URL property.
-
getTrustStoreDescriptor
public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()
- Specified by:
getTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor
-
setHttpDiscoveryUrl
public void setHttpDiscoveryUrl(org.refcodes.net.Url aUrl)
Description copied from interface:HttpDiscoveryUrlAccessor.HttpDiscoveryUrlMutator
Sets the URL for the URL property locating the service discovery discovery.- Specified by:
setHttpDiscoveryUrl
in 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:
setTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
-
getLoadBalancingStrategy
public org.refcodes.net.LoadBalancingStrategy getLoadBalancingStrategy()
- Specified by:
getLoadBalancingStrategy
in interfaceorg.refcodes.net.LoadBalancingStrategyAccessor
-
setLoadBalancingStrategy
public void setLoadBalancingStrategy(org.refcodes.net.LoadBalancingStrategy aStrategy)
- Specified by:
setLoadBalancingStrategy
in interfaceorg.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator
-
-