Class HttpDiscoveryContextBuilder

    • Constructor Detail

      • HttpDiscoveryContextBuilder

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

        public HttpDiscoveryContextBuilder​(org.refcodes.web.Url aDiscoveryUrl,
                                           org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
        Constructs the HttpDiscoveryContextBuilder 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

      • withLoadBalancingStrategy

        public HttpDiscoveryContextBuilder withLoadBalancingStrategy​(org.refcodes.web.LoadBalancingStrategy aStrategy)
        Specified by:
        withLoadBalancingStrategy in interface org.refcodes.web.LoadBalancingStrategyAccessor.LoadBalancingStrategyBuilder<HttpDiscoveryContextBuilder>
      • withTrustStoreDescriptor

        public HttpDiscoveryContextBuilder withTrustStoreDescriptor​(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
        Specified by:
        withTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpDiscoveryContextBuilder>
      • getHttpDiscoveryUrl

        public org.refcodes.web.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 aTrustStoreDescriptor)
        Specified by:
        setTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
      • getLoadBalancingStrategy

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

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