Context

play.core.server.ServerProvider.Context
final case class Context(config: ServerConfig, appProvider: ApplicationProvider, actorSystem: ActorSystem, materializer: Materializer, stopHook: () => Future[_])

The context for creating a server. Passed to the createServer method.

Value parameters

actorSystem

An ActorSystem that the server can use.

appProvider

An object which can be queried to get an Application.

config

Basic server configuration values.

stopHook

A function that should be called by the server when it stops. This function can be used to close resources that are provided to the server.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product