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, resolveScript
clearScripts, findScript
public GroovyClassTearOff(MetaClass owner)
protected java.lang.String getDefaultScriptExtension()
AbstractTearOff
getDefaultScriptExtension
in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
public GroovierJellyScript parseScript(java.net.URL res) throws java.io.IOException
AbstractTearOff
parseScript
in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
java.io.IOException
public 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.IOException
Copyright © 2013. All Rights Reserved.