Package org.kohsuke.stapler.jelly.groovy
Class GroovyFacet
java.lang.Object
org.kohsuke.stapler.Facet
org.kohsuke.stapler.jelly.groovy.GroovyFacet
- All Implemented Interfaces:
org.kohsuke.stapler.jelly.JellyCompatibleFacet
@MetaInfServices(org.kohsuke.stapler.Facet.class)
public class GroovyFacet
extends org.kohsuke.stapler.Facet
implements org.kohsuke.stapler.jelly.JellyCompatibleFacet
Facet that brings in Groovy support on top of Jelly.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.stapler.Facet
ALLOW_VIEW_NAME_PATH_TRAVERSAL, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildIndexDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers) voidbuildViewDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers) jakarta.servlet.RequestDispatchercreateRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName) booleanhandleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, Object node, org.kohsuke.stapler.MetaClass nodeMetaClass) Methods inherited from class org.kohsuke.stapler.Facet
buildFallbackDispatchers, createRequestDispatcher, createRequestDispatcher, createValidatingDispatcher, discover, discoverExtensions, getExtensionSuffix, getKlass, handleIndexRequest, isBasename
-
Constructor Details
-
GroovyFacet
public GroovyFacet()
-
-
Method Details
-
buildViewDispatchers
public void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers) - Specified by:
buildViewDispatchersin classorg.kohsuke.stapler.Facet
-
getClassTearOffTypes
- Specified by:
getClassTearOffTypesin interfaceorg.kohsuke.stapler.jelly.JellyCompatibleFacet
-
getScriptExtensions
- Specified by:
getScriptExtensionsin interfaceorg.kohsuke.stapler.jelly.JellyCompatibleFacet
-
createRequestDispatcher
public jakarta.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName) throws IOException - Overrides:
createRequestDispatcherin classorg.kohsuke.stapler.Facet- Throws:
IOException
-
buildIndexDispatchers
public void buildIndexDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers) - Overrides:
buildIndexDispatchersin classorg.kohsuke.stapler.Facet
-
handleIndexRequest
public boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, Object node, org.kohsuke.stapler.MetaClass nodeMetaClass) throws IOException, jakarta.servlet.ServletException - Specified by:
handleIndexRequestin classorg.kohsuke.stapler.Facet- Throws:
IOExceptionjakarta.servlet.ServletException
-