Ratpack
A toolkit for JVM web applications
This manual is a work in progress and is currently incomplete.
Version: 0.9.0
Multi Page
Single Page
API Reference
1
Introduction
1.1
Highlights
1.2
How to read the documentation
1.3
Project Status
2
Setup
2.1
Using the Gradle plugin(s)
2.2
Using Lazybones project templates
3
Launching
3.1
Launch configuration
3.2
Main classes
4
Handlers
4.1
What is a handler?
4.2
Handler delegation
4.3
Building handler chains
5
Context
5.1
Contextual objects
5.1.1
Partitioning
6
Basic HTTP
6.1
Request & Response
6.2
Reading the request
6.2.1
Forms
6.3
Sending a response
6.4
Cookies
6.5
Sessions
7
Backgrounding
7.1
The Background API
8
Google Guice integration
8.1
Modules
8.2
Dependency injected handlers
8.3
Modules as plugins
8.4
Guice and the context registry
9
Testing Ratpack applications
9.1
Unit testing
9.2
Functional testing
9.2.1
TestHttpClient
9.2.2
Geb
9.2.3
Application subsets, modules and extensions
10
Groovy
11
The Ratpack project
11.1
Credits
11.1.1
Active project members
11.1.2
Contributors
11.1.3
Past project members
11.2
About this manual
11.2.1
Resources
11.2.1.1
Libraries
11.2.1.2
Fonts
11.2.1.3
Images