org.kohsuke.stapler.jelly.jruby
Class JRubyClassTearOff
java.lang.Object
org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>
org.kohsuke.stapler.jelly.jruby.JRubyClassTearOff
public class JRubyClassTearOff
- extends org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>
- Author:
- Kohsuke Kawaguchi
| Fields inherited from class org.kohsuke.stapler.AbstractTearOff |
classLoader, owner |
|
Method Summary |
javax.servlet.RequestDispatcher |
createDispatcher(Object it,
String viewName)
Creates a RequestDispatcher that forwards to the jelly view, if available. |
org.apache.commons.jelly.Script |
parseScript(URL res)
|
boolean |
serveIndexErb(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
Object node)
|
| Methods inherited from class org.kohsuke.stapler.AbstractTearOff |
clearScripts, findResource, findScript |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRubyClassTearOff
public JRubyClassTearOff(org.kohsuke.stapler.MetaClass owner)
parseScript
public org.apache.commons.jelly.Script parseScript(URL res)
throws IOException
- Specified by:
parseScript in class org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>
- Throws:
IOException
serveIndexErb
public boolean serveIndexErb(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
Object node)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
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 © 2011. All Rights Reserved.