Class HttpDiscoveryContextBuilderImpl

    • Constructor Detail

      • HttpDiscoveryContextBuilderImpl

        public HttpDiscoveryContextBuilderImpl​(org.refcodes.net.Url aDiscoveryUrl)
        Constructs the HttpDiscoveryContextBuilderImpl context.
        Parameters:
        aDiscoveryUrl - The Url pointing to the service discovery registry.
      • HttpDiscoveryContextBuilderImpl

        public HttpDiscoveryContextBuilderImpl​(org.refcodes.net.Url aDiscoveryUrl,
                                               org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
        Constructs the HttpDiscoveryContextBuilderImpl context.
        Parameters:
        aDiscoveryUrl - The Url 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 interface HttpDiscoveryUrlAccessor
        Returns:
        The URL stored by the URL property.
      • getTrustStoreDescriptor

        public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor​()
        Specified by:
        getTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor
      • setTrustStoreDescriptor

        public void setTrustStoreDescriptor​(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
        Specified by:
        setTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
      • getLoadBalancingStrategy

        public org.refcodes.net.LoadBalancingStrategy getLoadBalancingStrategy​()
        Specified by:
        getLoadBalancingStrategy in interface org.refcodes.net.LoadBalancingStrategyAccessor
      • setLoadBalancingStrategy

        public void setLoadBalancingStrategy​(org.refcodes.net.LoadBalancingStrategy aStrategy)
        Specified by:
        setLoadBalancingStrategy in interface org.refcodes.net.LoadBalancingStrategyAccessor.LoadBalancingStrategyMutator