Class GroovyFacet

  • All Implemented Interfaces:
    JellyCompatibleFacet

    @MetaInfServices(org.kohsuke.stapler.Facet.class)
    public class GroovyFacet
    extends org.kohsuke.stapler.Facet
    implements JellyCompatibleFacet
    Facet that brings in Groovy support on top of Jelly.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • GroovyFacet

        public GroovyFacet()
    • Method Detail

      • buildViewDispatchers

        public void buildViewDispatchers​(org.kohsuke.stapler.MetaClass owner,
                                         List<org.kohsuke.stapler.Dispatcher> dispatchers)
        Specified by:
        buildViewDispatchers in class org.kohsuke.stapler.Facet
      • createRequestDispatcher

        public javax.servlet.RequestDispatcher createRequestDispatcher​(org.kohsuke.stapler.RequestImpl request,
                                                                       org.kohsuke.stapler.lang.Klass type,
                                                                       Object it,
                                                                       String viewName)
                                                                throws IOException
        Overrides:
        createRequestDispatcher in class org.kohsuke.stapler.Facet
        Throws:
        IOException
      • buildIndexDispatchers

        public void buildIndexDispatchers​(org.kohsuke.stapler.MetaClass owner,
                                          List<org.kohsuke.stapler.Dispatcher> dispatchers)
        Overrides:
        buildIndexDispatchers in class org.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,
                                          javax.servlet.ServletException
        Specified by:
        handleIndexRequest in class org.kohsuke.stapler.Facet
        Throws:
        IOException
        javax.servlet.ServletException