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()
Default file extension of this kind of scripts, such as ".jelly"
|
GroovierJellyScript |
parseScript(java.net.URL res)
Compiles a script into the compiled form.
|
boolean |
serveIndexGroovy(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object node) |
getResource, 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 boolean serveIndexGroovy(StaplerRequest req, StaplerResponse rsp, java.lang.Object node) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
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 © 2012. All Rights Reserved.