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