public interface GroovyByContentHandler extends ByContentHandler
Modifier and Type | Method and Description |
---|---|
GroovyByContentHandler |
html(Closure<?> closure) |
GroovyByContentHandler |
json(Closure<?> closure) |
GroovyByContentHandler |
plainText(Closure<?> closure) |
GroovyByContentHandler |
type(String mimeType,
Closure<?> closure) |
GroovyByContentHandler |
xml(Closure<?> closure) |
GroovyByContentHandler type(String mimeType, @DelegatesTo(value=GroovyContext.class) Closure<?> closure)
GroovyByContentHandler plainText(@DelegatesTo(value=GroovyContext.class) Closure<?> closure)
GroovyByContentHandler html(@DelegatesTo(value=GroovyContext.class) Closure<?> closure)
GroovyByContentHandler json(@DelegatesTo(value=GroovyContext.class) Closure<?> closure)
GroovyByContentHandler xml(@DelegatesTo(value=GroovyContext.class) Closure<?> closure)