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