Class CorsSettings$
java.lang.Object
org.apache.pekko.http.cors.javadsl.settings.CorsSettings$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CorsSettings$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(com.typesafe.config.Config config) Creates an instance of settings using the given Config.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).create(org.apache.pekko.actor.ActorSystem system) Creates an instance of CorsSettings using the configuration provided by the given ActorSystem.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
CorsSettings$
public CorsSettings$()
-
-
Method Details
-
create
Creates an instance of settings using the given Config.- Parameters:
config- (undocumented)- Returns:
- (undocumented)
-
create
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).- Parameters:
configOverrides- (undocumented)- Returns:
- (undocumented)
-
create
Creates an instance of CorsSettings using the configuration provided by the given ActorSystem.- Parameters:
system- (undocumented)- Returns:
- (undocumented)
-