creates a Server implementation based Netty
A ServerProcess that wraps a real JVM process.
provides generic server behaviour for Play applications
Common configuration for servers such as NettyServer.
Abstracts a JVM process so it can be mocked for testing or to isolate pseudo-processes within a VM.
Abstracts a JVM process so it can be mocked for testing or to
isolate pseudo-processes within a VM. Code using this class
should use the methods in this class instead of methods like
System.getProperties()
, System.exit()
, etc.
An object that knows how to obtain a server.
An object that knows how to obtain a server. Instantiating a
ServerProvider object should be fast and side-effect free. Any
actual work that a ServerProvider needs to do should be delayed
until the createServer
method is called.
Helper for starting a Play server and application.
Helper for starting a Play server and application. The main
method
is the entry point to a Play server running in production mode. The
mainDev*
methods are used to start a server running in development
mode.
Bootstraps Play application with a NettyServer backend.
A ServerProcess that wraps a real JVM process. Calls have a real effect on the JVM, e.g.
exit
callsSystem.exit.