public class CorsSettings$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CorsSettings$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
CorsSettings$() |
Modifier and Type | Method and Description |
---|---|
CorsSettings |
create(org.apache.pekko.actor.ActorSystem system)
Creates an instance of CorsSettings using the configuration provided by the given ActorSystem.
|
CorsSettings |
create(com.typesafe.config.Config config)
Creates an instance of settings using the given Config.
|
CorsSettings |
create(java.lang.String configOverrides)
Creates 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).
|
CorsSettings |
defaultSettings()
Deprecated.
Use other CorsSettings constructors. Since 1.0.0.
|
public static final CorsSettings$ MODULE$
public CorsSettings create(com.typesafe.config.Config config)
config
- (undocumented)public CorsSettings create(java.lang.String configOverrides)
configOverrides
- (undocumented)public CorsSettings create(org.apache.pekko.actor.ActorSystem system)
system
- (undocumented)public CorsSettings defaultSettings()
apply()
methods
instead to have more control over the source of the configuration.