c

play.api.test

RunningServer

final case class RunningServer(app: Application, endpoints: ServerEndpoints, stopServer: AutoCloseable) extends Product with Serializable

Contains information about a running TestServer. This object can be used by tests to find out about the running server, e.g. port information.

We use a separate class to avoid including mutable state, such as methods for closing the server.

Annotations
@ApiMayChange()
Source
RunningServer.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunningServer
  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 RunningServer(app: Application, endpoints: ServerEndpoints, stopServer: AutoCloseable)

Value Members

  1. val app: Application
  2. val endpoints: ServerEndpoints
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val stopServer: AutoCloseable