class DefaultTestServerFactory extends TestServerFactory
Creates a server for an application with both HTTP and HTTPS ports 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.
- Annotations
- @ApiMayChange()
- Source
- TestServerFactory.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultTestServerFactory
- TestServerFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DefaultTestServerFactory()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
optionalGlobalLock(app: Application): Option[Lock]
Get the lock (if any) that should be used to prevent concurrent applications from running.
Get the lock (if any) that should be used to prevent concurrent applications from running.
- Attributes
- protected
-
def
overrideServerConfiguration(app: Application): Configuration
- Attributes
- protected
-
def
serverConfig(app: Application): ServerConfig
- Attributes
- protected
-
def
serverEndpoints(testServer: TestServer): ServerEndpoints
- Attributes
- protected
-
def
serverProvider(app: Application): ServerProvider
- Attributes
- protected
-
def
start(app: Application): RunningServer
- Definition Classes
- DefaultTestServerFactory → TestServerFactory
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()