public interface GroovyByMethodSpec
extends ratpack.handling.ByMethodSpec
GroovyContext.byMethod(Closure),
ByMethodSpec| Modifier and Type | Method and Description |
|---|---|
GroovyByMethodSpec |
delete(ratpack.func.Block block) |
GroovyByMethodSpec |
delete(java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
delete(Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of DELETE.
|
GroovyByMethodSpec |
delete(ratpack.handling.Handler handler) |
GroovyByMethodSpec |
get(ratpack.func.Block block) |
GroovyByMethodSpec |
get(java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
get(Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of GET.
|
GroovyByMethodSpec |
get(ratpack.handling.Handler handler) |
GroovyByMethodSpec |
named(java.lang.String methodName,
ratpack.func.Block block) |
GroovyByMethodSpec |
named(java.lang.String methodName,
java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
named(java.lang.String methodName,
Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of
methodName. |
GroovyByMethodSpec |
named(java.lang.String methodName,
ratpack.handling.Handler handler) |
GroovyByMethodSpec |
options(ratpack.func.Block block) |
GroovyByMethodSpec |
options(java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
options(Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of OPTIONS.
|
GroovyByMethodSpec |
options(ratpack.handling.Handler handler) |
GroovyByMethodSpec |
patch(ratpack.func.Block block) |
GroovyByMethodSpec |
patch(java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
patch(Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of PATCH.
|
GroovyByMethodSpec |
patch(ratpack.handling.Handler handler) |
GroovyByMethodSpec |
post(ratpack.func.Block block) |
GroovyByMethodSpec |
post(java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
post(Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of POST.
|
GroovyByMethodSpec |
post(ratpack.handling.Handler handler) |
GroovyByMethodSpec |
put(ratpack.func.Block block) |
GroovyByMethodSpec |
put(java.lang.Class<? extends ratpack.handling.Handler> clazz) |
GroovyByMethodSpec |
put(Closure<?> closure)
Inserts the handler to chain if the request has a HTTP method of PUT.
|
GroovyByMethodSpec |
put(ratpack.handling.Handler handler) |
GroovyByMethodSpec get(ratpack.func.Block block)
get in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec get(java.lang.Class<? extends ratpack.handling.Handler> clazz)
get in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec get(ratpack.handling.Handler handler)
get in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec post(ratpack.func.Block block)
post in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec post(java.lang.Class<? extends ratpack.handling.Handler> clazz)
post in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec post(ratpack.handling.Handler handler)
post in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec put(ratpack.func.Block block)
put in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec put(java.lang.Class<? extends ratpack.handling.Handler> clazz)
put in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec put(ratpack.handling.Handler handler)
put in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec patch(ratpack.func.Block block)
patch in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec patch(java.lang.Class<? extends ratpack.handling.Handler> clazz)
patch in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec patch(ratpack.handling.Handler handler)
patch in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec options(ratpack.func.Block block)
options in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec options(java.lang.Class<? extends ratpack.handling.Handler> clazz)
options in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec options(ratpack.handling.Handler handler)
options in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec delete(ratpack.func.Block block)
delete in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec delete(java.lang.Class<? extends ratpack.handling.Handler> clazz)
delete in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec delete(ratpack.handling.Handler handler)
delete in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec named(java.lang.String methodName, ratpack.func.Block block)
named in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec named(java.lang.String methodName, java.lang.Class<? extends ratpack.handling.Handler> clazz)
named in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec named(java.lang.String methodName, ratpack.handling.Handler handler)
named in interface ratpack.handling.ByMethodSpecGroovyByMethodSpec get(@DelegatesTo(value=GroovyContext.class,strategy=1) Closure<?> closure)
closure - a handler closureGroovyByMethodSpec post(@DelegatesTo(value=GroovyContext.class,strategy=1) Closure<?> closure)
closure - a handler closureGroovyByMethodSpec put(@DelegatesTo(value=GroovyContext.class,strategy=1) Closure<?> closure)
closure - a handler closureGroovyByMethodSpec patch(@DelegatesTo(value=GroovyContext.class,strategy=1) Closure<?> closure)
closure - a handler closureGroovyByMethodSpec options(@DelegatesTo(value=GroovyContext.class,strategy=1) Closure<?> closure)
closure - a handler closureGroovyByMethodSpec delete(@DelegatesTo(value=GroovyContext.class,strategy=1) Closure<?> closure)
closure - a handler closureGroovyByMethodSpec named(@DelegatesTo(value=GroovyContext.class,strategy=1) java.lang.String methodName, Closure<?> closure)
methodName.closure - a handler closure