public class TestServer
extends play.api.test.TestServer
Constructor and Description |
---|
TestServer(int port,
Application application)
A test Netty web server.
|
TestServer(int port,
Application application,
int sslPort)
A test Netty web server with HTTPS support
|
$lessinit$greater$default$2, $lessinit$greater$default$3, $lessinit$greater$default$4, application, apply, apply$default$2, apply$default$3, apply$default$4, canEqual, copy, copy$default$1, copy$default$2, copy$default$3, copy$default$4, equals, hashCode, port, productArity, productElement, productIterator, productPrefix, serverProvider, sslPort, start, stop, toString, unapply
public TestServer(int port, Application application)
port
- HTTP port to bind on.application
- The Application to load in this server.public TestServer(int port, Application application, int sslPort)
port
- HTTP port to bind onapplication
- The Application to load in this serversslPort
- HTTPS port to bind on