public class GroovyRatpackMain extends Object
RatpackServer.start(ratpack.func.Action) and Groovy.Script.app().
This can be be used as the main class, when defining your Ratpack app as a Groovy script.
Groovy.Script.app()| Constructor and Description |
|---|
GroovyRatpackMain() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String... args)
Starts the server defined by calling
Groovy.Script.app(). |
public static void main(String... args) throws Exception
Groovy.Script.app().args - not usedException - any when starting the server