| Package | Description |
|---|---|
| ratpack.groovy.handling |
Groovy specific extensions to classes in the
ratpack.handling package. |
| ratpack.handling |
The handling of application requests.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GroovyByMethodHandler
A Groovy specific subclass of
ByMethodHandler that makes using closures more convenient. |
| Modifier and Type | Method and Description |
|---|---|
ByMethodHandler |
ByMethodHandler.delete(Runnable runnable)
Defines the action to to take if the request has a HTTP method of DELETE.
|
ByMethodHandler |
ByMethodHandler.get(Runnable runnable)
Defines the action to to take if the request has a HTTP method of GET.
|
ByMethodHandler |
Context.getByMethod()
A buildable handler for conditional processing based on the HTTP request method.
|
ByMethodHandler |
ByMethodHandler.named(String methodName,
Runnable runnable)
Defines the action to to take if the request has a HTTP method of
methodName. |
ByMethodHandler |
ByMethodHandler.patch(Runnable runnable)
Defines the action to to take if the request has a HTTP method of PATCH.
|
ByMethodHandler |
ByMethodHandler.post(Runnable runnable)
Defines the action to to take if the request has a HTTP method of POST.
|
ByMethodHandler |
ByMethodHandler.put(Runnable runnable)
Defines the action to to take if the request has a HTTP method of PUT.
|