case class ServerConfig(rootDir: File, port: Option[Int], sslPort: Option[Int], address: String, mode: api.Mode, properties: Properties, configuration: Configuration) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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.
- configuration
The configuration to use for loading the server. This is not the same as application configuration. This configuration is usually loaded from a server.conf file, whereas the application configuration is usually loaded from an application.conf file.
Common configuration for servers such as NettyServer.
The root directory of the server. Used to find default locations of files, log directories, etc.
The HTTP port to use.
The HTTPS port to use.
The socket address to bind to.
The run mode: dev, test or prod.
The configuration to use for loading the server. This is not the same as application configuration. This configuration is usually loaded from a server.conf file, whereas the application configuration is usually loaded from an application.conf file.