Package ratpack.groovy.handling
Class DefaultGroovyByContentSpec
- java.lang.Object
-
- ratpack.groovy.handling.DefaultGroovyByContentSpec
-
- All Implemented Interfaces:
GroovyByContentSpec
,ratpack.handling.ByContentSpec
public class DefaultGroovyByContentSpec extends java.lang.Object implements GroovyByContentSpec
-
-
Constructor Summary
Constructors Constructor Description DefaultGroovyByContentSpec(ratpack.handling.ByContentSpec delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroovyByContentSpec
html(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
html(ratpack.func.Block block)
GroovyByContentSpec
html(ratpack.handling.Handler handler)
GroovyByContentSpec
json(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
json(ratpack.func.Block block)
GroovyByContentSpec
json(ratpack.handling.Handler handler)
GroovyByContentSpec
noMatch(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
noMatch(java.lang.String mimeType)
GroovyByContentSpec
noMatch(ratpack.func.Block block)
GroovyByContentSpec
noMatch(ratpack.handling.Handler handler)
GroovyByContentSpec
plainText(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
plainText(ratpack.func.Block block)
GroovyByContentSpec
plainText(ratpack.handling.Handler handler)
GroovyByContentSpec
type(java.lang.CharSequence mimeType, java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
type(java.lang.CharSequence mimeType, ratpack.func.Block block)
GroovyByContentSpec
type(java.lang.CharSequence mimeType, ratpack.handling.Handler handler)
GroovyByContentSpec
type(java.lang.String mimeType, java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
type(java.lang.String mimeType, ratpack.func.Block block)
GroovyByContentSpec
type(java.lang.String mimeType, ratpack.handling.Handler handler)
GroovyByContentSpec
unspecified(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
unspecified(java.lang.String mimeType)
GroovyByContentSpec
unspecified(ratpack.func.Block block)
GroovyByContentSpec
unspecified(ratpack.handling.Handler handler)
GroovyByContentSpec
xml(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
GroovyByContentSpec
xml(ratpack.func.Block block)
GroovyByContentSpec
xml(ratpack.handling.Handler handler)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ratpack.groovy.handling.GroovyByContentSpec
html, json, noMatch, plainText, type, type, unspecified, xml
-
-
-
-
Method Detail
-
type
public GroovyByContentSpec type(java.lang.String mimeType, ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
type
in interfaceratpack.handling.ByContentSpec
- Specified by:
type
in interfaceGroovyByContentSpec
-
type
public GroovyByContentSpec type(java.lang.CharSequence mimeType, ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
type
in interfaceratpack.handling.ByContentSpec
- Specified by:
type
in interfaceGroovyByContentSpec
-
type
public GroovyByContentSpec type(java.lang.String mimeType, ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
type
in interfaceratpack.handling.ByContentSpec
- Specified by:
type
in interfaceGroovyByContentSpec
-
type
public GroovyByContentSpec type(java.lang.CharSequence mimeType, ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
type
in interfaceratpack.handling.ByContentSpec
- Specified by:
type
in interfaceGroovyByContentSpec
-
type
public GroovyByContentSpec type(java.lang.String mimeType, java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
type
in interfaceratpack.handling.ByContentSpec
- Specified by:
type
in interfaceGroovyByContentSpec
-
type
public GroovyByContentSpec type(java.lang.CharSequence mimeType, java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
type
in interfaceratpack.handling.ByContentSpec
- Specified by:
type
in interfaceGroovyByContentSpec
-
plainText
public GroovyByContentSpec plainText(ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
plainText
in interfaceratpack.handling.ByContentSpec
- Specified by:
plainText
in interfaceGroovyByContentSpec
-
plainText
public GroovyByContentSpec plainText(ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
plainText
in interfaceratpack.handling.ByContentSpec
- Specified by:
plainText
in interfaceGroovyByContentSpec
-
plainText
public GroovyByContentSpec plainText(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
plainText
in interfaceratpack.handling.ByContentSpec
- Specified by:
plainText
in interfaceGroovyByContentSpec
-
html
public GroovyByContentSpec html(ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
html
in interfaceratpack.handling.ByContentSpec
- Specified by:
html
in interfaceGroovyByContentSpec
-
html
public GroovyByContentSpec html(ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
html
in interfaceratpack.handling.ByContentSpec
- Specified by:
html
in interfaceGroovyByContentSpec
-
html
public GroovyByContentSpec html(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
html
in interfaceratpack.handling.ByContentSpec
- Specified by:
html
in interfaceGroovyByContentSpec
-
json
public GroovyByContentSpec json(ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
json
in interfaceratpack.handling.ByContentSpec
- Specified by:
json
in interfaceGroovyByContentSpec
-
json
public GroovyByContentSpec json(ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
json
in interfaceratpack.handling.ByContentSpec
- Specified by:
json
in interfaceGroovyByContentSpec
-
json
public GroovyByContentSpec json(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
json
in interfaceratpack.handling.ByContentSpec
- Specified by:
json
in interfaceGroovyByContentSpec
-
xml
public GroovyByContentSpec xml(ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
xml
in interfaceratpack.handling.ByContentSpec
- Specified by:
xml
in interfaceGroovyByContentSpec
-
xml
public GroovyByContentSpec xml(ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
xml
in interfaceratpack.handling.ByContentSpec
- Specified by:
xml
in interfaceGroovyByContentSpec
-
xml
public GroovyByContentSpec xml(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
xml
in interfaceratpack.handling.ByContentSpec
- Specified by:
xml
in interfaceGroovyByContentSpec
-
noMatch
public GroovyByContentSpec noMatch(ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
noMatch
in interfaceratpack.handling.ByContentSpec
- Specified by:
noMatch
in interfaceGroovyByContentSpec
-
noMatch
public GroovyByContentSpec noMatch(ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
noMatch
in interfaceratpack.handling.ByContentSpec
- Specified by:
noMatch
in interfaceGroovyByContentSpec
-
noMatch
public GroovyByContentSpec noMatch(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
noMatch
in interfaceratpack.handling.ByContentSpec
- Specified by:
noMatch
in interfaceGroovyByContentSpec
-
noMatch
public GroovyByContentSpec noMatch(java.lang.String mimeType)
Description copied from interface:GroovyByContentSpec
- Specified by:
noMatch
in interfaceratpack.handling.ByContentSpec
- Specified by:
noMatch
in interfaceGroovyByContentSpec
-
unspecified
public GroovyByContentSpec unspecified(ratpack.func.Block block)
Description copied from interface:GroovyByContentSpec
- Specified by:
unspecified
in interfaceratpack.handling.ByContentSpec
- Specified by:
unspecified
in interfaceGroovyByContentSpec
-
unspecified
public GroovyByContentSpec unspecified(ratpack.handling.Handler handler)
Description copied from interface:GroovyByContentSpec
- Specified by:
unspecified
in interfaceratpack.handling.ByContentSpec
- Specified by:
unspecified
in interfaceGroovyByContentSpec
-
unspecified
public GroovyByContentSpec unspecified(java.lang.Class<? extends ratpack.handling.Handler> handlerType)
Description copied from interface:GroovyByContentSpec
- Specified by:
unspecified
in interfaceratpack.handling.ByContentSpec
- Specified by:
unspecified
in interfaceGroovyByContentSpec
-
unspecified
public GroovyByContentSpec unspecified(java.lang.String mimeType)
Description copied from interface:GroovyByContentSpec
- Specified by:
unspecified
in interfaceratpack.handling.ByContentSpec
- Specified by:
unspecified
in interfaceGroovyByContentSpec
-
-