Class InfoObserveProvider

java.lang.Object
io.helidon.webserver.observe.info.InfoObserveProvider
All Implemented Interfaces:
ConfiguredProvider<Observer>, ObserveProvider

@Deprecated public class InfoObserveProvider extends Object implements ObserveProvider
Deprecated.
only for ServiceLoader
ServiceLoader provider implementation for application information observe provider.
  • Constructor Details

  • Method Details

    • configKey

      public String configKey()
      Deprecated.
      Description copied from interface: ObserveProvider
      Configuration key of this provider. The following keys must be honored by Observe support:
      • enabled - enable/disable the service
      • endpoint - endpoint, if starts with / then absolute, otherwise relative to observe endpoint
      • cors - CORS setup for this endpoint
      Specified by:
      configKey in interface ConfiguredProvider<Observer>
      Specified by:
      configKey in interface ObserveProvider
      Returns:
      configuration key of this provider (such as health)
    • create

      public Observer create(Config config, String name)
      Deprecated.
      Description copied from interface: ObserveProvider
      Create a new observer from the provided configuration.
      Specified by:
      create in interface ConfiguredProvider<Observer>
      Specified by:
      create in interface ObserveProvider
      Parameters:
      config - configuration of this provider
      name - name of the instance
      Returns:
      a new observer to be registered with routing