class DefaultTestServerFactory extends TestServerFactory
Instance Constructors
- new DefaultTestServerFactory()
Value Members
- final def !=(arg0: Any): Boolean
- final def ##: Int
- final def ==(arg0: Any): Boolean
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: AnyRef): Boolean
- final def getClass(): Class[_ <: AnyRef]
- def hashCode(): Int
- final def isInstanceOf[T0]: Boolean
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- def optionalGlobalLock(app: Application): Option[Lock]
- def overrideServerConfiguration(app: Application): Configuration
- def serverConfig(app: Application): ServerConfig
- def serverEndpoints(testServer: TestServer): ServerEndpoints
- def serverProvider(app: Application): ServerProvider
- def start(app: Application): RunningServer
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- final def wait(): Unit
Deprecated Value Members
- def finalize(): Unit
Inherited from AnyRef
Inherited from Any
Creates a server for an application with a random HTTP port bound. To change the HTTP port you can pass a
testserver.port
system property. The HTTPS port by default is not bound, but can be enabled by passing thetestserver.httpsport
system property. If it gets bound it will be using a self-signed certificate.Most logic in this class is in a protected method so that users can extend the class and override its logic.