public class TestServer
extends play.api.test.TestServer
Constructor and Description |
---|
TestServer(int port,
FakeApplication application)
A test Netty web server.
|
TestServer(int port,
FakeApplication application,
int sslPort)
A test Netty web server with HTTPS support
|
public TestServer(int port, FakeApplication application)
port
- HTTP port to bind on.application
- The FakeApplication to load in this server.public TestServer(int port, FakeApplication application, int sslPort)
port
- HTTP port to bind onapplication
- The FakeApplication to load in this serversslPort
- HTTPS port to bind on