public final class GroovyClassTearOff extends AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
classLoader, owner| Constructor and Description |
|---|
GroovyClassTearOff(MetaClass owner) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.RequestDispatcher |
createDispatcher(java.lang.Object it,
java.lang.String viewName)
Creates a
RequestDispatcher that forwards to the jelly view, if available. |
protected java.lang.String |
getDefaultScriptExtension()
The file extension of this kind of scripts, such as ".jelly"
|
GroovierJellyScript |
parseScript(java.net.URL res)
Compiles a script into the compiled form.
|
getResource, getWebApp, hasAllowedExtension, loadScript, resolveScriptclearScripts, findScriptpublic GroovyClassTearOff(MetaClass owner)
protected java.lang.String getDefaultScriptExtension()
AbstractTearOffgetDefaultScriptExtension in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>public GroovierJellyScript parseScript(java.net.URL res) throws java.io.IOException
AbstractTearOffparseScript in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>java.io.IOExceptionpublic javax.servlet.RequestDispatcher createDispatcher(java.lang.Object it,
java.lang.String viewName)
throws java.io.IOException
RequestDispatcher that forwards to the jelly view, if available.java.io.IOExceptionCopyright © 2013. All Rights Reserved.