My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Groovy Restlet is a simple Groovy DSL for constructing Restlet application.

GroovyRestlet is not hosted by Groovy as a Groovy Module, please check http://docs.codehaus.org/display/GROOVY/GroovyRestlet for more information

Requirement

Current build 0.1.0-SNAPSHOT based on following technologies:

  • Restlet 1.1-SNAPSHOT
  • Slf4J 1.4.3
  • CGLib 2.1_3
  • Spring 2.5
  • commons-lang 2.3

Simple Usage

  1. Create an instance of GroovyRestlet first.
  2. GroovyRestlet gr = new GroovyRestlet()
    • If you want Spring support, provide an instance of ApplicationContext as the constructor parameter.
    • GroovyRestlet gr = new GroovyRestlet(appCtx);
  3. Preparing your building script using simple GroovyRestlet DSL syntax, for example see
SpringIntegrationExamples
  1. Calling GroovyRestlet.build(URI) then done.
  2. gr.build(uriToScript)
Powered by Google Project Hosting