case class ServerConfig(rootDir: File, port: Option[Int], sslPort: Option[Int], address: String, mode: api.Mode, properties: Properties, configuration: Configuration) extends Product with Serializable

Common configuration for servers such as NettyServer.

rootDir

The root directory of the server. Used to find default locations of files, log directories, etc.

port

The HTTP port to use.

sslPort

The HTTPS port to use.

address

The socket address to bind to.

mode

The run mode: dev, test or prod.

Source
ServerConfig.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ServerConfig(rootDir: File, port: Option[Int], sslPort: Option[Int], address: String, mode: api.Mode, properties: Properties, configuration: Configuration)

    rootDir

    The root directory of the server. Used to find default locations of files, log directories, etc.

    port

    The HTTP port to use.

    sslPort

    The HTTPS port to use.

    address

    The socket address to bind to.

    mode

    The run mode: dev, test or prod.

Value Members

  1. val address: String
  2. val configuration: Configuration
  3. val mode: api.Mode
  4. val port: Option[Int]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val properties: Properties
  7. val rootDir: File
  8. val sslPort: Option[Int]