public class GroovyRatpackMain
extends java.lang.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(java.lang.String... args)
Starts the server defined by calling
Groovy.Script.app(). |
public static void main(java.lang.String... args)
throws java.lang.Exception
Groovy.Script.app().args - not usedjava.lang.Exception - any when starting the server