Interface SettingsCompanion<T>

All Known Implementing Classes:
CachingSettings$, ClientConnectionSettings$, ConnectionPoolSettings$, Http2ServerSettings$, HttpsProxySettings$, LfuCacheSettings$, ParserSettings$, PreviewServerSettings$, RoutingSettings$, ServerSettings$

public interface SettingsCompanion<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(akka.actor.ActorSystem system)
    WARNING: This MUST overridden in sub-classes as otherwise won't be usable (return type) from Java.
    create(com.typesafe.config.Config config)
    Creates an instance of settings using the given Config.
    create(String configOverrides)
    Create an instance of settings using the given String of config overrides to override settings set in the class loader of this class (i.e. by application.conf or reference.conf files in the class loader of this class).
  • Method Details

    • create

      T create(akka.actor.ActorSystem system)
      WARNING: This MUST overridden in sub-classes as otherwise won't be usable (return type) from Java. Creates an instance of settings using the configuration provided by the given ActorSystem.

      Java API

      Parameters:
      system - (undocumented)
      Returns:
      (undocumented)
    • create

      T create(com.typesafe.config.Config config)
      Creates an instance of settings using the given Config.

      Java API

      Parameters:
      config - (undocumented)
      Returns:
      (undocumented)
    • create

      T create(String configOverrides)
      Create an instance of settings using the given String of config overrides to override settings set in the class loader of this class (i.e. by application.conf or reference.conf files in the class loader of this class).

      Java API

      Parameters:
      configOverrides - (undocumented)
      Returns:
      (undocumented)