org.kohsuke.stapler.jelly.groovy
Class GroovyServerPageTearOff

java.lang.Object
  extended by org.kohsuke.stapler.CachingScriptLoader<S,E>
      extended by org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
          extended by org.kohsuke.stapler.jelly.groovy.GroovyServerPageTearOff

public class GroovyServerPageTearOff
extends org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.kohsuke.stapler.AbstractTearOff
classLoader, owner
 
Constructor Summary
GroovyServerPageTearOff(org.kohsuke.stapler.MetaClass owner)
           
 
Method Summary
 javax.servlet.RequestDispatcher createDispatcher(Object it, String viewName)
          Creates a RequestDispatcher that forwards to the jelly view, if available.
protected  String getDefaultScriptExtension()
           
 GroovierJellyScript parseScript(URL res)
           
 
Methods inherited from class org.kohsuke.stapler.AbstractTearOff
getResource, getWebApp, loadScript, resolveScript
 
Methods inherited from class org.kohsuke.stapler.CachingScriptLoader
clearScripts, findScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyServerPageTearOff

public GroovyServerPageTearOff(org.kohsuke.stapler.MetaClass owner)
Method Detail

getDefaultScriptExtension

protected String getDefaultScriptExtension()
Specified by:
getDefaultScriptExtension in class org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>

parseScript

public GroovierJellyScript parseScript(URL res)
                                throws IOException
Specified by:
parseScript in class org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
Throws:
IOException

createDispatcher

public javax.servlet.RequestDispatcher createDispatcher(Object it,
                                                        String viewName)
                                                 throws IOException
Creates a RequestDispatcher that forwards to the jelly view, if available.

Throws:
IOException


Copyright © 2012. All Rights Reserved.