public class JRubyFacet
extends Facet
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) |
RequestDispatcher |
createRequestDispatcher(RequestImpl request,
|
MetaClass |
getClassInfo(RubyClass r) |
Collection<Class<? extends AbstractRubyTearOff>> |
getClassTearOffTypes() |
|
getKlass(Object o) |
Collection<String> |
getScriptExtensions() |
boolean |
handleIndexRequest(RequestImpl req,
ResponseImpl rsp,
Object node,
MetaClass mc) |
Script |
parseScript(URL template) |
public Script parseScript(URL template) throws IOException
IOExceptionpublicgetKlass(Object o)
public MetaClass getClassInfo(RubyClass r)
public void buildViewDispatchers(MetaClass owner,
List<Dispatcher> dispatchers)
public void buildFallbackDispatchers(MetaClass owner,
List<Dispatcher> dispatchers)
public Collection<Class<? extends AbstractRubyTearOff>> getClassTearOffTypes()
public Collection<String> getScriptExtensions()
public RequestDispatcher createRequestDispatcher(RequestImpl request,
type,
Object it,
String viewName)
throws IOException
IOExceptionpublic boolean handleIndexRequest(RequestImpl req,
ResponseImpl rsp,
Object node,
MetaClass mc)
throws IOException,
ServletException
IOExceptionServletExceptionCopyright © 2014. All rights reserved.