| Package | Description |
|---|---|
| ratpack.handling |
The handling of application requests.
|
| Modifier and Type | Method and Description |
|---|---|
ByMethodSpec |
ByMethodSpec.delete(Block block)
Defines the action to to take if the request has a HTTP method of DELETE.
|
ByMethodSpec |
ByMethodSpec.get(Block block)
Defines the action to to take if the request has a HTTP method of GET.
|
ByMethodSpec |
ByMethodSpec.named(String methodName,
Block block)
Defines the action to to take if the request has a HTTP method of
methodName. |
ByMethodSpec |
ByMethodSpec.options(Block block)
Defines the action to to take if the request has a HTTP method of OPTIONS.
|
ByMethodSpec |
ByMethodSpec.patch(Block block)
Defines the action to to take if the request has a HTTP method of PATCH.
|
ByMethodSpec |
ByMethodSpec.post(Block block)
Defines the action to to take if the request has a HTTP method of POST.
|
ByMethodSpec |
ByMethodSpec.put(Block block)
Defines the action to to take if the request has a HTTP method of PUT.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Context.byMethod(Action<? super ByMethodSpec> action)
Respond to the request based on the request method.
|