| Package | Description |
|---|---|
| ratpack.groovy.handling | |
| ratpack.handling |
The handling of application requests.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GroovyByContentHandler |
| Modifier and Type | Method and Description |
|---|---|
ByContentHandler |
Context.getByContent()
A buildable handler useful for performing content negotiation.
|
ByContentHandler |
ByContentHandler.html(Runnable runnable)
Convenience method to respond with "text/html" mime type.
|
ByContentHandler |
ByContentHandler.json(Runnable runnable)
Convenience method to respond with "application/json" mime type.
|
ByContentHandler |
ByContentHandler.plainText(Runnable runnable)
Convenience method to respond with "text/plain" mime type.
|
ByContentHandler |
ByContentHandler.type(String mimeType,
Runnable runnable)
Register how to respond with the given mime type.
|
ByContentHandler |
ByContentHandler.xml(Runnable runnable)
Convenience method to respond with "application/xml" mime type.
|