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(java.lang.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(java.lang.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(java.lang.String methodName,
Block block)
Defines the action to to take if the request has a HTTP method of
methodName . |
GroovyByMethodSpec |
GroovyByMethodSpec.named(java.lang.String methodName,
java.lang.Class<? extends Handler> clazz) |
GroovyByMethodSpec |
GroovyByMethodSpec.named(java.lang.String methodName,
Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of
methodName . |
GroovyByMethodSpec |
GroovyByMethodSpec.named(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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.
|