Class CorsSettings$

java.lang.Object
org.apache.pekko.http.cors.javadsl.settings.CorsSettings$

public class CorsSettings$ extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CorsSettings$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(com.typesafe.config.Config config)
    Creates an instance of settings using the given Config.
    create(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).
    create(org.apache.pekko.actor.ActorSystem system)
    Creates an instance of CorsSettings using the configuration provided by the given ActorSystem.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final CorsSettings$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • CorsSettings$

      public CorsSettings$()
  • Method Details

    • create

      public CorsSettings create(com.typesafe.config.Config config)
      Creates an instance of settings using the given Config.
      Parameters:
      config - (undocumented)
      Returns:
      (undocumented)
    • create

      public CorsSettings create(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).
      Parameters:
      configOverrides - (undocumented)
      Returns:
      (undocumented)
    • create

      public CorsSettings create(org.apache.pekko.actor.ActorSystem system)
      Creates an instance of CorsSettings using the configuration provided by the given ActorSystem.
      Parameters:
      system - (undocumented)
      Returns:
      (undocumented)