Modifiers | Name | Description |
---|---|---|
static class |
JsonViewUnitTest.TestHttpResponse |
Type | Name and description |
---|---|
org.grails.datastore.mapping.model.MappingContext |
getMappingContext() |
JsonViewTemplateEngine |
getTemplateEngine() |
JsonRenderResult |
render(java.lang.String source) Render a template for the given source |
JsonRenderResult |
render(java.lang.String source, java.util.Map model) Render a template for the given source |
JsonRenderResult |
render(java.lang.String source, java.util.Map model, groovy.lang.Closure configurer) Render a template for the given source |
JsonRenderResult |
render(java.lang.String source, groovy.lang.Closure configurer) Render a template for the given source |
JsonRenderResult |
render(java.util.Map arguments) Render one of the GSON views in the grails-app/views directory for the given arguments |
JsonRenderResult |
render(java.util.Map arguments, groovy.lang.Closure configurer) Render one of the GSON views in the grails-app/views directory for the given arguments |
Methods inherited from class | Name |
---|---|
interface org.grails.testing.GrailsUnitTest |
org.grails.testing.GrailsUnitTest#doWithConfig(), org.grails.testing.GrailsUnitTest#getConfig(), org.grails.testing.GrailsUnitTest#getMessageSource(), org.grails.testing.GrailsUnitTest#getIncludePlugins(), org.grails.testing.GrailsUnitTest#loadExternalBeans(), org.grails.testing.GrailsUnitTest#cleanupGrailsApplication(), org.grails.testing.GrailsUnitTest#getOptionalServletContext(), org.grails.testing.GrailsUnitTest#defineBeans(java.lang.Object), org.grails.testing.GrailsUnitTest#defineBeans(groovy.lang.Closure), org.grails.testing.GrailsUnitTest#doWithSpring(), org.grails.testing.GrailsUnitTest#getApplicationContext(), org.grails.testing.GrailsUnitTest#getGrailsApplication() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Render a template for the given source
source
- The raw source of the templatemodel
- The modelRender a template for the given source
source
- The raw source of the templatemodel
- The modelRender a template for the given source
source
- The raw source of the templatemodel
- The modelconfigurer
- The configurerRender a template for the given source
source
- The raw source of the templatemodel
- The modelconfigurer
- The configurerRender one of the GSON views in the grails-app/views directory for the given arguments
arguments
- The named arguments: 'template', 'view' and 'model'Render one of the GSON views in the grails-app/views directory for the given arguments
arguments
- The named arguments: 'template', 'view' and 'model'configurer
- The configurer for modifying the request state of the view