Interface WebClientDiscovery

All Superinterfaces:
NamedService, NamedService, RuntimeType.Api<WebClientDiscoveryConfig>, WebClientService

public interface WebClientDiscovery extends RuntimeType.Api<WebClientDiscoveryConfig>, WebClientService
A WebClientService that intercepts certain requests and uses Helidon Discovery where appropriate to discover endpoints for those requests, rerouting them as necessary.

WebClientDiscovery instances are normally created by WebClientDiscoveryProvider instances, and are not typically used directly by end users.

The specification for the handle(Chain, WebClientServiceRequest) method fully specifies the required behavior of conforming implementations of this interface, and further describes the implementation-specific behavior of WebClientDiscovery instances returned from invocations of the create(WebClientDiscoveryConfig) method.

Logging

Implementations returned by invocations of the create(WebClientDiscoveryConfig) method, and any of their internal supporting classes, will use Loggers whose names begin with io.helidon.webclient.discovery..

Logging output is particularly important to monitor because as a general rule discovery integrations must strive to be resilient in the presence of failures.

See Also: