Package akka.http.scaladsl.settings
Interface SettingsCompanion<T>
- All Known Implementing Classes:
CachingSettings$
,ClientConnectionSettings$
,ConnectionPoolSettings$
,Http2ClientSettings$
,Http2ServerSettings$
,HttpsProxySettings$
,LfuCacheSettings$
,ParserSettings$
,PreviewServerSettings$
,RoutingSettings$
,ServerSentEventSettings$
,ServerSettings$
public interface SettingsCompanion<T>
INTERNAL API
-
Method Summary
Modifier and TypeMethodDescriptionapply
(akka.actor.ActorSystem system) Creates an instance of settings using the configuration provided by the given ActorSystem.apply
(akka.actor.ClassicActorSystemProvider system) apply
(com.typesafe.config.Config config) Creates an instance of settings using the given Config.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
-
apply
Creates an instance of settings using the configuration provided by the given ActorSystem.- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
apply
-
apply
Creates an instance of settings using the given Config.- Parameters:
config
- (undocumented)- Returns:
- (undocumented)
-
apply
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).- Parameters:
configOverrides
- (undocumented)- Returns:
- (undocumented)
-