public class GroovyServerPageTearOff extends AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
classLoader, owner
Constructor and Description |
---|
GroovyServerPageTearOff(MetaClass owner) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.RequestDispatcher |
createDispatcher(Object it,
String viewName)
Creates a
RequestDispatcher that forwards to the jelly view, if available. |
protected String |
getDefaultScriptExtension()
The file extension of this kind of scripts, such as ".jelly"
|
GroovierJellyScript |
parseScript(URL res)
Compiles a script into the compiled form.
|
getResource, getWebApp, hasAllowedExtension, loadScript, resolveScript
clearScripts, findScript
public GroovyServerPageTearOff(MetaClass owner)
protected String getDefaultScriptExtension()
AbstractTearOff
getDefaultScriptExtension
in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
public GroovierJellyScript parseScript(URL res) throws IOException
AbstractTearOff
parseScript
in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
IOException
public javax.servlet.RequestDispatcher createDispatcher(Object it, String viewName) throws IOException
RequestDispatcher
that forwards to the jelly view, if available.IOException
Copyright © 2015. All rights reserved.