GroovyRestlet is a simple DSL for constructing Restlet application in a simple, shortcuting syntax.
GroovyRestlet is distributed as a single jar.
GroovyRestlet 0.3-SNAPSHOT, donwload here
Changes
directory constructor now only accept root attribute as valid URI.At current moment, GroovyRestlet depends following:
Drop GroovyRestlet and all dependencies in your Java classpath.
First, create an instance of GroovyRestlet first.
|
If you want Spring support, provide an instance of |
Then, prepare your Restlet building script using simple GroovyRestlet DSL syntax.
Calling GroovyRestlet.build(URI) then done.
Check GroovyRestlet User Guide for detail user information.
Here is one GroovyRestlet DSL example, inspired from Restlet tutorial 11.
For more examples:
GroovyRestlet uses Maven 2 as its building tool.
Feel free to contribute.