Interface WebClientDiscoveryConfig

All Superinterfaces:
Prototype.Api, Prototype.Factory<WebClientDiscovery>
All Known Implementing Classes:
WebClientDiscoveryConfig.BuilderBase.WebClientDiscoveryConfigImpl

public interface WebClientDiscoveryConfig extends Prototype.Api
A prototype and factory for WebClientDiscovery instances.
See Also:
  • Method Details

    • builder

      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static WebClientDiscoveryConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • discovery

      Discovery discovery()
      A Discovery (normally sourced from the service registry).
      Returns:
      a Discovery
    • prefixUris

      Map<String,URI> prefixUris()
      A Map of URI prefixes indexed under discovery names.
      Returns:
      the Map
    • name

      String name()
      The name to assign to the runtime type (discovery by default).
      Returns:
      a name
      See Also: