Package | Description |
---|---|
ratpack.groovy.handling |
Modifier and Type | Method and Description |
---|---|
GroovyByMethodHandler |
GroovyByMethodHandler.delete(Closure<?> closure)
Defines the action to to take if the request has a HTTP method of DELETE.
|
GroovyByMethodHandler |
GroovyByMethodHandler.get(Closure<?> closure)
Defines the action to to take if the request has a HTTP method of GET.
|
GroovyByMethodHandler |
GroovyByMethodHandler.named(String methodName,
Closure<?> closure)
Defines the action to to take if the request has a HTTP method of
methodName . |
GroovyByMethodHandler |
GroovyByMethodHandler.patch(Closure<?> closure)
Defines the action to to take if the request has a HTTP method of PATCH.
|
GroovyByMethodHandler |
GroovyByMethodHandler.post(Closure<?> closure)
Defines the action to to take if the request has a HTTP method of POST.
|
GroovyByMethodHandler |
GroovyByMethodHandler.put(Closure<?> closure)
Defines the action to to take if the request has a HTTP method of PUT.
|