@MetaInfServices(value=org.kohsuke.stapler.Facet.class) public class JRubyFacet extends Facet implements JellyCompatibleFacet
Facet that adds Ruby-based view technologies.| Constructor and Description |
|---|
JRubyFacet() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFallbackDispatchers(MetaClass owner,
List<Dispatcher> dispatchers) |
void |
buildViewDispatchers(MetaClass owner,
List<Dispatcher> dispatchers) |
javax.servlet.RequestDispatcher |
createRequestDispatcher(RequestImpl request,
Klass<?> type,
Object it,
String viewName) |
MetaClass |
getClassInfo(org.jruby.RubyClass r) |
Collection<Class<? extends AbstractRubyTearOff>> |
getClassTearOffTypes() |
Klass<org.jruby.RubyModule> |
getKlass(Object o) |
Collection<String> |
getScriptExtensions() |
boolean |
handleIndexRequest(RequestImpl req,
ResponseImpl rsp,
Object node,
MetaClass mc) |
org.apache.commons.jelly.Script |
parseScript(URL template) |
createRequestDispatcher, discover, discoverExtensionspublic org.apache.commons.jelly.Script parseScript(URL template) throws IOException
IOExceptionpublic MetaClass getClassInfo(org.jruby.RubyClass r)
public void buildViewDispatchers(MetaClass owner, List<Dispatcher> dispatchers)
buildViewDispatchers in class Facetpublic void buildFallbackDispatchers(MetaClass owner, List<Dispatcher> dispatchers)
buildFallbackDispatchers in class Facetpublic Collection<Class<? extends AbstractRubyTearOff>> getClassTearOffTypes()
getClassTearOffTypes in interface JellyCompatibleFacetpublic Collection<String> getScriptExtensions()
getScriptExtensions in interface JellyCompatibleFacetpublic javax.servlet.RequestDispatcher createRequestDispatcher(RequestImpl request, Klass<?> type, Object it, String viewName) throws IOException
createRequestDispatcher in class FacetIOExceptionpublic boolean handleIndexRequest(RequestImpl req, ResponseImpl rsp, Object node, MetaClass mc) throws IOException, javax.servlet.ServletException
handleIndexRequest in class FacetIOExceptionjavax.servlet.ServletExceptionCopyright © 2016. All Rights Reserved.