@MetaInfServices(value=org.kohsuke.stapler.Facet.class) public class GroovyFacet extends Facet implements JellyCompatibleFacet
Facet that brings in Groovy support on top of Jelly.ALLOW_VIEW_NAME_PATH_TRAVERSAL, LOGGER| Constructor and Description |
|---|
GroovyFacet() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildIndexDispatchers(MetaClass owner,
java.util.List<Dispatcher> dispatchers) |
void |
buildViewDispatchers(MetaClass owner,
java.util.List<Dispatcher> dispatchers) |
javax.servlet.RequestDispatcher |
createRequestDispatcher(RequestImpl request,
Klass type,
java.lang.Object it,
java.lang.String viewName) |
java.util.Collection<java.lang.Class<GroovyClassTearOff>> |
getClassTearOffTypes() |
java.util.Collection<java.lang.String> |
getScriptExtensions() |
boolean |
handleIndexRequest(RequestImpl req,
ResponseImpl rsp,
java.lang.Object node,
MetaClass nodeMetaClass) |
buildFallbackDispatchers, createRequestDispatcher, discover, discoverExtensions, getKlass, isBasenamepublic void buildViewDispatchers(MetaClass owner, java.util.List<Dispatcher> dispatchers)
buildViewDispatchers in class Facetpublic java.util.Collection<java.lang.Class<GroovyClassTearOff>> getClassTearOffTypes()
getClassTearOffTypes in interface JellyCompatibleFacetpublic java.util.Collection<java.lang.String> getScriptExtensions()
getScriptExtensions in interface JellyCompatibleFacetpublic javax.servlet.RequestDispatcher createRequestDispatcher(RequestImpl request, Klass type, java.lang.Object it, java.lang.String viewName) throws java.io.IOException
createRequestDispatcher in class Facetjava.io.IOExceptionpublic void buildIndexDispatchers(MetaClass owner, java.util.List<Dispatcher> dispatchers)
buildIndexDispatchers in class Facetpublic boolean handleIndexRequest(RequestImpl req, ResponseImpl rsp, java.lang.Object node, MetaClass nodeMetaClass) throws java.io.IOException, javax.servlet.ServletException
handleIndexRequest in class Facetjava.io.IOExceptionjavax.servlet.ServletExceptionCopyright © 2018. All Rights Reserved.